On 12/9/21 21:10, centos@centos.org wrote:
I'm trying to test out the CentOS Stream 9 GenericCloud images. I'm installing with:
VM_NAME="centos-stream9" USER_DATA="user-data" DISK="CentOS-Stream-GenericCloud-9.x86_64.qcow2"
virt-install \ --name "${VM_NAME}" \ --memory 2048 \ --vcpus 2 \ --import \ --cloud-init user-data="${USER_DATA}" \ --os-variant centos-stream9 \ --disk "${DISK}" \ --network network=default,model=virtio \ --graphics none \ --virt-type kvm
But I'm ending up with a corrupted disk image, e.g.:
# ls -l /var/lib ls: cannot access '/var/lib/unbound': Permission denied ls: cannot access '/var/lib/systemd': Permission denied ls: cannot access '/var/lib/logrotate': Permission denied ls: cannot access '/var/lib/rpcbind': Permission denied ls: cannot access '/var/lib/os-prober': Permission denied ls: cannot access '/var/lib/setroubleshoot': Permission denied ls: cannot access '/var/lib/rsyslog': Permission denied ls: cannot access '/var/lib/dhclient': Permission denied ls: cannot access '/var/lib/kdump': Permission denied ls: cannot access '/var/lib/cloud': Permission denied ls: cannot access '/var/lib/nfs': Permission denied ls: cannot access '/var/lib/chrony': Permission denied total 4 drwxr-xr-x. 2 root root 84 Dec 7 10:24 alternatives drwxr-xr-x. 3 root root 4096 Dec 7 10:23 authselect d?????????? ? ? ? ? ? chrony d?????????? ? ? ? ? ? cloud d?????????? ? ? ? ? ? dhclient drwxr-xr-x. 2 root root 80 Dec 7 10:24 dnf drwxr-xr-x. 2 root root 6 Aug 9 16:40 games drwxr-xr-x. 4 root root 55 Dec 9 22:59 gssproxy drwxr-xr-x. 2 root root 6 Aug 24 10:22 initramfs d?????????? ? ? ? ? ? kdump d?????????? ? ? ? ? ? logrotate drwxr-xr-x. 2 root root 6 Aug 9 16:40 misc drwx------. 2 root root 122 Dec 9 22:59 NetworkManager d?????????? ? ? ? ? ? nfs d?????????? ? ? ? ? ? os-prober drwxr-xr-x. 2 root root 6 Aug 9 22:08 PackageKit drwxr-x---. 3 root polkitd 28 Dec 7 10:22 polkit-1 drwx------. 2 root root 6 Dec 7 10:22 private d?????????? ? ? ? ? ? rpcbind drwxr-xr-x. 2 root root 91 Aug 19 10:39 rpm drwxr-xr-x. 2 root root 6 Dec 7 10:22 rpm-state d?????????? ? ? ? ? ? rsyslog drwxr-xr-x. 5 root root 46 Dec 7 10:22 selinux d?????????? ? ? ? ? ? setroubleshoot drwxr-xr-x. 9 root root 105 Dec 7 10:22 sss d?????????? ? ? ? ? ? systemd drwxr-xr-x. 3 root root 20 Dec 7 10:22 tpm2-tss d?????????? ? ? ? ? ? unbound
Is anyone else seeing this? Anything I'm doing wrong?
I'm not seeing any error in the boot messages.
I still get this consistently with the GenericCloud images. Is there something wrong with them or with my system?