diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-11-04 05:14:44 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-11-04 05:14:44 +0100 |
commit | a6bf4e6a55d2922a05b117f8e23535ec51cfdcd9 (patch) | |
tree | 7a83330bb247f61f628cba9b7898c626817cd9c0 | |
parent | 16e61f3911ae1c737bbc936884205793e03d1f9a (diff) | |
download | vyatta-cfg-system-a6bf4e6a55d2922a05b117f8e23535ec51cfdcd9.tar.gz vyatta-cfg-system-a6bf4e6a55d2922a05b117f8e23535ec51cfdcd9.zip |
T428: don't check the UUID in the EC2 detection script.
-rwxr-xr-x | scripts/ec2-check.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/ec2-check.pl b/scripts/ec2-check.pl index 03448ff5..09b923c4 100755 --- a/scripts/ec2-check.pl +++ b/scripts/ec2-check.pl @@ -25,11 +25,9 @@ use warnings; my $DMIDECODE = "/usr/sbin/dmidecode"; -my $UUID = `$DMIDECODE -s system-uuid`; my $SN = `$DMIDECODE -s system-serial-number`; -if( ($UUID =~ /^ec2.*/i) && - ($SN =~ /^ec2.*/i) ) +if( $SN =~ /^ec2.*/i ) { exit(0); } |