diff options
-rw-r--r-- | notes/lxc_setup.sh.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/notes/lxc_setup.sh.txt b/notes/lxc_setup.sh.txt index 819e09e..5154e28 100644 --- a/notes/lxc_setup.sh.txt +++ b/notes/lxc_setup.sh.txt @@ -71,5 +71,8 @@ done echo 192.168.1.$addr $container ) > /srv/lxc/$container/rootfs/etc/hosts +echo 'APT::Install-Recommends "false";' > /srv/lxc/$container/rootfs/etc/apt/apt.conf + lxc-create -n $container -f /srv/lxc/$container/config + |