我想virt-install
命令Xen的使用命令行
我使用Kickstart使用Xen的創建(CentOS的)虛擬機,並把它放在http://192.168.1.8/centos/kickstart.cfg
並把Centos的6.5 http://192.168.1.8/centos/os/
使用
[[email protected] ~]# dd if=/dev/zero of=/var/lib/xen/images/vserver.img bs=1M count=4000
[[email protected] ~]# virt-install -p -n vserver -r 512 -f /var/lib/xen/images/vserver.img -l http://192.168.1.8/centos/os -x ks=http://192.168.1.8/centos/kickstart.cfg -w bridge:xenbr0 --vcpus=1
結果
Starting install... ERROR Could not find an installable distribution at 'http://192.168.1.8/centos/os' The location must be the root directory of an install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect xen:/// start vserver otherwise, please restart your installation.
此問題顯然屬於SuperUser而不是SO。但是,再次,我已經在這裏,所以不妨幫忙:有沒有理由不使用virsh的網絡安裝方法? –
我從超級用戶刪除它,因爲沒有人回答我,所以我在這裏問它 – Steve
我不明白,你能解釋更多嗎? – Steve