Sha256: 508005e9ad0cd2ddacfa9303708850f4e6d4a145206eed98b9884b0ca6ccf45a

Contents?: true

Size: 597 Bytes

Versions: 57

Compression:

Stored size: 597 Bytes

Contents

#!/bin/sh
#
#  This script setups the ubuntu guests up properly.
#

prefix=$1

#
#  Source our common functions
#
if [ -e /usr/lib/xen-tools/common.sh ]; then
   . /usr/lib/xen-tools/common.sh
else
   . ./hooks/common.sh
fi

chroot ${prefix} /usr/sbin/update-rc.d -f hwclock.sh remove
chroot ${prefix} /usr/sbin/update-rc.d -f hwclockfirst.sh remove
chroot ${prefix} rm -f /etc/udev/rules.d/85-hwclock.rules
chroot ${prefix} ln -sf /bin/true /sbin/hwclock

#
#  Change first console setting to xvc0 upstart
#
echo "xvc0" >> ${prefix}/etc/securetty
sed -i "s/tty1/xvc0/" ${prefix}/etc/event.d/tty1

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
le1t0-deprec-2.1.6.017 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.016 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.015 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.014 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.013 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.012 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.011 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.010 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.009 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.008 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.007 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.006 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.005 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.004 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.003 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.002 lib/deprec/templates/xentools/100-ubuntu-setup
le1t0-deprec-2.1.6.001 lib/deprec/templates/xentools/100-ubuntu-setup