Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article A brief introduction to xen-tools:


Re: A brief introduction to xen-tools
Posted by AndrBrn (151.56.xx.xx) on Tue 14 Aug 2007 at 19:07
Nice article and nice scripts, even if I had to make some minor changes...
My dom0 system is Etch (all the packages come from the Etch repository) and to install both an Etch-based VM and a Sarge-based VM, setting the gdm role, I had to replace all the occurrences of "/etc/X11/gdm/gdm.conf" with "/etc/gdm/gdm.conf" in the gdm script in /etc/xen-tools/role.d folder and I had to change the last line (to make the VNC section the default) with this one:

perl -pi.bak -e 's/^0=Standard\n//g ; s/^\[servers\]/\[servers\]\n0=VNC/g' ${prefix}/etc/gdm/gdm.conf

It is a little bit dirty, but it works both for Sarge-based VMs where there is the "0=Standard" string in gdm.conf and for Etch-based VMs where the [servers] section in gdm.conf is empty, so there is no "0=Standard" string to replace.

And finally, to install gdm, VNC and other packages for a Sarge-baded VM, I had to replace the "stable" string with the "sarge" string in the sources.list file as soon as debootstrap created the root hierarchy (I changed the file while the xen-create-image script was running): is it a bug in the debootstrap package?

Andrea

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search