Created
June 18, 2018 11:16
-
-
Save obourdon/ec35ddc455e5f621a81459fd39c7ee16 to your computer and use it in GitHub Desktop.
DIB error generating CentOS image on Ubuntu
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
git clone https://github.com/opennext-io/onpc-provisioning && cd onpc-provisioning | |
# Use script https://github.com/opennext-io/onpc-provisioning/blob/master/scripts/create_infra_master_vm.sh | |
MASTER_VM_DISK=20480 PRESEED_URL=http://www.olivierbourdon.com/preseed_master-xenial-dib.cfg VIRT=vbox PROXY=http://172.20.20.56:8080/ ./scripts/create_infra_master_vm.sh | |
# Login into VM and run the following as vagrant user (passwd: vagrant) | |
cd diskimage-builder | |
sudo pip install -r requirements.txt | |
sudo python setup.py install | |
disk-image-create -t qcow2 --image-size 60 -o /tmp/test.qcow2 centos-minimal dhcp-all-interfaces cloud-init-nocloud devuser yum epel baremetal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment