[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] run a liveCD as a domU
On 23/06/17 09:32, Mike Wright wrote: Hi all,I'm trying to explore the Tails O/S but I can't figure out how to setup a config file to boot its liveCD iso as a domU.I finally got it to "xl create" without throwing errors using the following config but I'm not sure if it's running or just purring along doing nothing...Minimal config: --------------------- name = 'TAILS' builder ='hvm' vcpus = '1' memory = '1024' boot = 'c' disk = [ 'file:/etc/xen/VMs/boot/tails-amd64-3.0.iso,xvdd:cdrom,r', ] serial = 'pty' stdvga = 'cirrus' vga = 'cirrus' --------------------- xl console TAILS goes to a blank line but there is no output; ctrl-] return control back to me. 3 questions: 1) does this config do what I want? 2) is it really running;3) how do I attach to its console? Try adding the following options: vnc = 1 vncdisplay = 0 vnclisten = '0.0.0.0' stdvga = 1 videoram = 16 Then you will need to check the output of: netstat -an | grep :59 tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTENYou should see listening on port 5900 (in the above example it's on 5901), you can use vncviewer to connect to that port, and you should see the console of your VM. eg, vncviewer 127.0.0.1:5901Or you can use vnc from a remote computer, and use the IP of your dom0 and the above port number. PS, if you don't need to connect remotely, then remove the vnclisten line, and use 127.0.0.1, otherwise anyone on your LAN will get console access to your VM. Regards, Adam -- Adam Goryachev Website Managers www.websitemanagers.com.au -- The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Viruses - Any loss/damage incurred by receiving this email is not the sender's responsibility. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |