I have the following command to install CentOS using the virtual vsFTP server that I have at 192.168.122.1:
virt-install --name kickstart.example.com --ram 768 \
--disk path=/var/lib/libvirt/images/kickstart.example.com.img,size=12 \
--location ftp://192.168.122.1/pub/inst -x "ks=ftp://192.168.122.1/pub/ks.cfg"
The ks.cfg
definitely exists because wget 192.168.122.1/pub/ks.cfg
downloads the file. I can navigate to ftp://192.168.122.1/pub/ks.cfg
and see ny kickstart file.
The error I get is:
ERROR Error validating install location: Could not find an installable
distribution at 'ftp://192.168.122.1/pub/inst'
The location must be the root directory of an install tree.
Is it something to do with permissions or SELinux (SELinux is Enforcing).
ls -lZ on 192.168.122.1/pub/
and its subdirectories and kickstart file is this:
-rw-r--r--. root root system_u:object_r:public_content_t:s0 /var/ftp/pub/ks.cfg
Any ideas? Many thanks :).