no message

master
Brie Bruns 2018-05-13 20:17:30 -06:00
parent c6195a1517
commit b019bc7c59
1 changed files with 4 additions and 3 deletions

View File

@ -97,6 +97,7 @@ if [[ ! -z $netinfo ]]; then
virt_netinfo_netmask=${netinfo_config[2]}
virt_netinfo_gateway=${netinfo_config[3]}
IFS=${OIFS}
echo "Configuring Network As: Type=${virt_netinfo_type} Addr=${virt_netinfo_address}/${virt_netinfo_netmask}/${virt_netinfo_gateway}"
fi
@ -159,9 +160,9 @@ xorriso -in_charset utf8 -outdev configuration.iso -volid cidata -joliet on -roc
# keep a backup of the files for future reference
if [[ "${BACKUP_ISO_FILES}" == "yes" ]]; then
cp ${WORKING_DIR}/output/user-data ${WORKING_DIR}/backups/${hostname}.user-data
cp ${WORKING_DIR}/output/meta-data ${WORKING_DIR}/backups/${hostname}.meta-data
chmod 640 ${WORKING_DIR}/backups/${hostname}.user-data ${WORKING_DIR}/backups/${hostname}.meta-data
cp ${WORKING_DIR}/output/user-data ${WORKING_DIR}/backups/${hostname}.${domain}.user-data
cp ${WORKING_DIR}/output/meta-data ${WORKING_DIR}/backups/${hostname}.${domain}.meta-data
chmod 640 ${WORKING_DIR}/backups/${hostname}.${domain}.user-data ${WORKING_DIR}/backups/${hostname}.${domain}.meta-data
fi
# copy ISO into libvirt's directory
cp configuration.iso ${POOL_PATH}/${hostname}.${domain}.configuration.iso