71 |
$rootfs/etc/rc?.d/*umountroot \ |
$rootfs/etc/rc?.d/*umountroot \ |
72 |
$rootfs/etc/rc?.d/*hwclock* \ |
$rootfs/etc/rc?.d/*hwclock* \ |
73 |
$rootfs/etc/rc?.d/*udev* \ |
$rootfs/etc/rc?.d/*udev* \ |
74 |
|
$rootfs/etc/rc?.d/*checkfs* \ |
75 |
2>/dev/null | xargs -i rm -v {} |
2>/dev/null | xargs -i rm -v {} |
76 |
|
|
77 |
echo $1 > $rootfs/etc/hostname |
echo $1 > $rootfs/etc/hostname |
133 |
|
|
134 |
if ! lxc-info -n $name | grep RUNNING ; then |
if ! lxc-info -n $name | grep RUNNING ; then |
135 |
lxc_log "$name start" |
lxc_log "$name start" |
136 |
|
mount $rootfs -o remount,rw # fix debian upgrade which remounts dir ro |
137 |
lxc-start -n $name -o /tmp/${name}.log -d |
lxc-start -n $name -o /tmp/${name}.log -d |
138 |
lxc-wait -n $name -s RUNNING |
lxc-wait -n $name -s RUNNING |
139 |
lxc-info -n $name |
lxc-info -n $name |