From Fedora Project Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 42: | Line 42: | ||
# virt-install --connect qemu:///system --ram 2048 -n cockpit --os-type=linux --os-variant=fedora20 --disk path=fedora22-cockpit-x86_64.qcow2,device=disk,format=qcow2 --vcpus=1 --vnc --noautoconsole --import | # virt-install --connect qemu:///system --ram 2048 -n cockpit --os-type=linux --os-variant=fedora20 --disk path=fedora22-cockpit-x86_64.qcow2,device=disk,format=qcow2 --vcpus=1 --vnc --noautoconsole --import | ||
# sleep 60 | # sleep 60 | ||
# MAC=`virsh dumpxml cockpit | grep 'mac address' | cut -d\' -f2` | # MAC=`virsh -c qemu:///system dumpxml cockpit | grep 'mac address' | cut -d\' -f2` | ||
# IP=` | # IP=`virsh -c qemu:///system net-dumpxml default | grep "$MAC" |sed -r 's/.*ip=.([0-9.]*).*/\1/'` | ||
# echo "connect to http://$IP:9090 (user/password: root/testvm testwheel/testwheel test/test)" | # echo "connect to http://$IP:9090 (user/password: root/testvm testwheel/testwheel test/test)" | ||
</pre> | </pre> |