Last active
January 22, 2020 18:58
-
-
Save remoteur/2a53e0a297fa4d12377d195aa0958ed5 to your computer and use it in GitHub Desktop.
mount qcow
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
guestfish --rw -a rhcos-43.81.202001142154.0-qemu.x86_64.qcow2 | |
><fs> run | |
><fs> mount /dev/sda1 / | |
gunzip rhcos-43.81.202001142154.0-qemu.x86_64.qcow2.gz | |
virt-edit -a rhcos-43.81.202001142154.0-qemu.x86_64.qcow2 -m /dev/sda1 -e "s/ip=dhcp/ip=ens3:dhcp6/g" /grub2/grub.cfg | |
sha256sum rhcos-43.81.202001142154.0-qemu.x86_64.qcow2 | |
gzip rhcos-43.81.202001142154.0-qemu.x86_64.qcow2 | |
sha256sum rhcos-43.81.202001142154.0-qemu.x86_64.qcow2.gz | |
gunzip rhcos-43.81.202001142154.0-openstack.x86_64.qcow2.gz | |
virt-edit -a rhcos-43.81.202001142154.0-openstack.x86_64.qcow2 -m /dev/sda1 -e "s/ip=dhcp/ip=ens4:dhcp6/g" /grub2/grub.cfg | |
sha256sum rhcos-43.81.202001142154.0-openstack.x86_64.qcow2 | |
gzip rhcos-43.81.202001142154.0-openstack.x86_64.qcow2 | |
sha256sum rhcos-43.81.202001142154.0-openstack.x86_64.qcow2.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment