From 00ae2761f5c8f6c35544145f9ec0f941e6e1dfe8 Mon Sep 17 00:00:00 2001 From: Brielle Bruns Date: Sun, 13 May 2018 20:25:14 -0600 Subject: [PATCH] no message --- virt-install-cloud.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/virt-install-cloud.sh b/virt-install-cloud.sh index be79a4b..1097283 100755 --- a/virt-install-cloud.sh +++ b/virt-install-cloud.sh @@ -121,14 +121,14 @@ sed -e "s/%GUEST_NAME%/${hostname}/" ${WORKING_DIR}/meta-data > ${WORKING_DIR}/o sed -e "s/%FQDN%/${hostname}.${domain}/" ${WORKING_DIR}/user-data > ${WORKING_DIR}/output/user-data if [[ ${virt_netinfo_type} == "eni" ]]; then - cat ${WORK_DIR}/network/legacy-eni >> ${WORK_DIR}/output/meta-data + cat ${WORKING_DIR}/network/legacy-eni >> ${WORKING_DIR}/output/meta-data if [[ ${virt_netinfo_address} == "dhcp" ]]; then - echo " iface eth0 inet dhcp" >> ${WORK_DIR}/output/meta-data + echo " iface eth0 inet dhcp" >> ${WORKING_DIR}/output/meta-data else - echo " iface eth0 inet static" >> ${WORK_DIR}/output/meta-data - echo " address ${virt_netinfo_address}" >> ${WORK_DIR}/output/meta-data - echo " netmask ${virt_netinfo_netmask}" >> ${WORK_DIR}/output/meta-data - echo " gateway ${virt_netinfo_gateway}" >> ${WORK_DIR}/output/meta-data + echo " iface eth0 inet static" >> ${WORKING_DIR}/output/meta-data + echo " address ${virt_netinfo_address}" >> ${WORKING_DIR}/output/meta-data + echo " netmask ${virt_netinfo_netmask}" >> ${WORKING_DIR}/output/meta-data + echo " gateway ${virt_netinfo_gateway}" >> ${WORKING_DIR}/output/meta-data fi elif [[ $virt_netinfo_type == "1" ]]; then echo "Not implemented yet!"