All pastes #761878 Raw Edit

jnc

public text v1 · immutable
·published 2007-11-05 03:17 UTC
rendered paste body


sudo xen-create-image \
  --force --passwd serial_device=xvc0 disk_device=xvda \
  --gateway=192.168.6.254 --ip=192.168.6.50 --netmask=255.255.255.0 \
  --lvm=vmachines --hostname=gutsybox.pimpcat.org dist=gutsy

echo "xencons = 'xvc0'" >> /etc/xen/gutsybox.pimpcat.org
echo "console = 'xvc0'" >> /etc/xen/gutsybox.pimpcat.org


>> OK, I have made a little progress on this.  I mounted my VM image on a
>> loopback and chroot'd to it.  I opened /etc/init.d/hwclock.sh
>> and /etc/init.d/hwclockfirst.sh and added the following to the top of each
>> file:
>>
>>   exit 0

ALSO SEE: http://lists.cvsrepository.org/xen-tools/Jul07/0332.html

sudo xm create -c gutsybox.pimpcat.org

-----------------

Ever-increasing network device names?

# guest# echo -n guestname.FQDN | md5sum | sed -r 's/(..)(..)(..).*/00:16:3E:\1:\2:\3/'

... or ...
# Just disable the correspondent udev rules by renaming:

guest# mv /etc/udev/rules.d/{,.}z25_persistent-net.rules