X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=appliance%2Finit;h=9ecf007f94464de387be79df25069e5a91ef8484;hp=15dab6142e9970b68c7804dbec8692bffbe9c192;hb=3920ad95f6b2db8fbf20aa26692877a09070cb04;hpb=508f1ee87e816bf6b6fc8e629ccbb2d61a971169 diff --git a/appliance/init b/appliance/init index 15dab61..9ecf007 100755 --- a/appliance/init +++ b/appliance/init @@ -5,6 +5,8 @@ echo Starting /init script ... PATH=/sbin:/usr/sbin:/bin:/usr/bin export PATH +mkdir -p /sysroot + mount -t proc /proc /proc mount -t sysfs /sys /sys @@ -52,8 +54,8 @@ hwclock -u -s # Set up the network. ifconfig lo 127.0.0.1 -ifconfig eth0 10.0.2.10 -route add default gw 10.0.2.2 +ifconfig eth0 169.254.2.10 +route add default gw 169.254.2.2 # Scan for LVM. modprobe dm_mod ||: