diff options
-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 ( |