From e41af63b4e17922793a5b1a55f0b4b439eb6ac74 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Thu, 4 Nov 2010 19:10:04 -0700 Subject: Fix ip address --- notes/lxc_setup.sh.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/lxc_setup.sh.txt b/notes/lxc_setup.sh.txt index 9c1f81e..e6f5102 100644 --- a/notes/lxc_setup.sh.txt +++ b/notes/lxc_setup.sh.txt @@ -44,7 +44,7 @@ echo > /srv/lxc/$container/rootfs/etc/network/interfaces chroot /srv/lxc/$container/rootfs/ passwd -l root chroot /srv/lxc/$container/rootfs/ apt-get update -chroot /srv/lxc/$container/rootfs/ apt-get install sudo locales less vim +chroot /srv/lxc/$container/rootfs/ apt-get -y install sudo locales less vim echo '%sudo ALL=(ALL) ALL' >> /srv/lxc/$container/rootfs/etc/sudoers chroot /srv/lxc/$container/rootfs/ dpkg-reconfigure locales @@ -63,7 +63,7 @@ done ( grep -v ^exit /srv/lxc/$container/rootfs/etc/rc.local - echo ip route add default via 192.168.1.1 + echo ip route add default via 192.168.1.10 ) | sponge /srv/lxc/$container/rootfs/etc/rc.local ( -- cgit v1.2.3