Fix ejection of cdrom media

master
Brie Bruns 4 years ago
parent bd8864c2cc
commit 9565321990
  1. 6
      virt-install-cloud.sh

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

Loading…
Cancel
Save