Fix lint errors, update packer files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh -eux
|
||||
|
||||
ubuntu_version="`lsb_release -r | awk '{print $2}'`";
|
||||
major_version="`echo $ubuntu_version | awk -F. '{print $1}'`";
|
||||
ubuntu_version="$(lsb_release -r | awk '{print $2}')";
|
||||
major_version="$(echo "$ubuntu_version" | awk -F. '{print $1}')";
|
||||
|
||||
if [ "$major_version" -ge "18" ]; then
|
||||
echo "Create netplan config for eth0"
|
||||
|
||||
Reference in New Issue
Block a user