diff options
author | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-11-04 19:10:04 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@richardiv.omgwallhack.org> | 2010-11-04 19:10:04 -0700 |
commit | e41af63b4e17922793a5b1a55f0b4b439eb6ac74 (patch) | |
tree | 64e6a9c8fe8ab1fc6479658e976e9e55449244cd /notes/lxc_setup.sh.txt | |
parent | dff319674337c05eb574b89c7c14e27163d342c4 (diff) | |
download | jrayhawk-e41af63b4e17922793a5b1a55f0b4b439eb6ac74.tar.gz jrayhawk-e41af63b4e17922793a5b1a55f0b4b439eb6ac74.zip |
Fix ip address
Diffstat (limited to 'notes/lxc_setup.sh.txt')
-rw-r--r-- | notes/lxc_setup.sh.txt | 4 |
1 files 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 ( |