Last active
April 29, 2016 19:46
-
-
Save ccamacho/da1f121dd074276e252840f215c911f1 to your computer and use it in GitHub Desktop.
commands image edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install libguestfs-tools -y | |
mkdir /tmp/overcloud-full | |
guestmount -a overcloud-full.qcow2 -i --rw /tmp/overcloud-full | |
##Make changes here.. | |
#Edit /opt/puppet-modules/.... to fit your needs... | |
sudo umount /tmp/overcloud-full | |
glance image-delete overcloud-full | |
glance image-create --name overcloud-full --file overcloud-full.qcow2 --disk-format qcow2 --container-format bare | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment