Now create a config drive file system to configure Container Linux itself:
mkdir -p /var/lib/libvirt/images/coreos/coreos1/openstack/latest
touch /var/lib/libvirt/images/coreos/coreos1/openstack/latest/user_data
why openstack/latest? Is this an error?
Then it suddenly talks, for the SELinux adjustments, about a configdrive directory?
If the host uses SELinux, allow the VM access to the config:
semanage fcontext -a -t virt_content_t "/var/lib/libvirt/images/coreos0/configdrive(/.*)?"
restorecon -R "/var/lib/libvirt/images/coreos0/configdrive"
Further more, when I create the user_data file, with the alterations I need, where is this file provided in the virt-install command here:
virt-install --connect qemu:///system --import --name coreos1 --ram 1024 --vcpus 1 --os-type=linux --os-variant=virtio26 --disk path=/var/lib/libvirt/images/coreos/coreos1.qcow2,format=qcow2,bus=virtio --filesystem /var/lib/libvirt/images/coreos/coreos1/,config-2,type=mount,mode=squash --network bridge=virbr0,mac=52:54:00:fe:b3:c0,type=bridge --vnc --noautoconsole
I am suspecting the config-2 has something to do with it? I would expect a reference to the user_data file somewhere though.
Who can help clarify this up? And if there are errors in the documentation, it should be fixed I would say.
--
You received this message because you are subscribed to the Google Groups "CoreOS User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreos-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[root@CentOS-73-64-minimal ~]# virt-install --connect qemu:///system --import --name coreos_provision01 --ram 8000 --vcpus 1 --os-type linux --os-variant virtio26 --disk path=/var/lib/libvirt/images/coreos/coreos_provision01.qcow2,format=qcow2,bus=virtio --filesystem /var/lib/libvirt/images/coreos/coreos_provision01/,config-2,type=mount,mode=squash --network bridge=virbr0, --graphics vnc,listen=0.0.0.0 --hvm --noautoconsole
Starting install...
ERROR internal error: process exited while connecting to monitor: s=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -drive file=/var/lib/libvirt/images/coreos/coreos_provision01.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -fsdev local,security_model=none,id=fsdev-fs0,path=/var/lib/libvirt/images/coreos/coreos_provision01/ -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=config-2,bus=pci.0,addr=0x3 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=29 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:20:d2:c2,bus=pci.0,addr=0x4 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 0.0.0.0:1 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
2017-04-24T20:14:05.505287Z qemu-kvm: -device virtio-9p-pci,id=fs0,fsdev=fsde
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start coreos_provision01
otherwise, please restart your installation.
> <mailto:coreos-user+unsub...@googlegroups.com>.