master
Brie Bruns 4 years ago
parent 63341c6b29
commit 1ef076b11a
  1. 4
      virt-install-cloud.sh

@ -140,7 +140,7 @@ elif [[ $virt_netinfo_type == "1" ]]; then
${WORKING_DIR}/network/network-config-v1 > ${WORKING_DIR}/output/network-config
extra_iso_files_xorriso=" -map $WORKING_DIR/output/network-config network-config"
extra_iso_files_genisoimage="${WORKING_DIR}/output/network-config"
extra_iso_files_cloud-localds="--network-config ${WORKING_DIR}/output/network-config"
extra_iso_files_cloud_localds="--network-config ${WORKING_DIR}/output/network-config"
fi
elif [[ $virt_netinfo_type == "2" ]]; then
echo "Not implemented yet!"
@ -174,7 +174,7 @@ case $iso_method in
xorriso -in_charset utf8 -outdev configuration.iso -volid cidata -joliet on -rockridge on -map output/user-data user-data -map output/meta-data meta-data ${extra_iso_files_xorriso}
;;
cloud-localds)
cloud-localds ${extra_iso_files_cloud-localds} ${WORKING_DIR}/configuration.iso ${WORKING_DIR}/output/user-data ${WORKING_DIR}/output/meta-data
cloud-localds ${extra_iso_files_cloud_localds} ${WORKING_DIR}/configuration.iso ${WORKING_DIR}/output/user-data ${WORKING_DIR}/output/meta-data
;;
esac

Loading…
Cancel
Save