Fix ejection of cdrom media

master
Brie Bruns 2018-07-03 09:23:42 -06:00
parent bd8864c2cc
commit 9565321990
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# Heavily Modified Script By: Brielle Bruns # Heavily Modified Script By: Brielle Bruns
# Date: 06/08/2018 # Date: 07/03/2018
# URL: https://git.sosdg.org/brielle/virt-install-cloud # URL: https://git.sosdg.org/brielle/virt-install-cloud
# Version: 1.1 # Version: 1.1.1
# #
# Originally based on: # Originally based on:
# virt-install-cloud.sh : script to start an OpenStack cloud image on kvm # virt-install-cloud.sh : script to start an OpenStack cloud image on kvm
@ -229,7 +229,7 @@ virt-install \
sleep 5 sleep 5
virsh change-media ${hostname}.${domain} vdb --eject --config virsh change-media ${hostname}.${domain} hda --eject --config
# cleanup # cleanup
rm configuration.iso output/meta-data output/user-data output/network-config rm configuration.iso output/meta-data output/user-data output/network-config