From 3142b686e42c55f1c9df2cd564e30a6a30418976 Mon Sep 17 00:00:00 2001 From: MReenen <> Date: Mon, 4 Jun 2018 20:28:19 +0200 Subject: [PATCH] bug workaround: no static IP addesses for containers --- bugs.md | 2 +- setup.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bugs.md b/bugs.md index 8b9ba75..a9d81ac 100644 --- a/bugs.md +++ b/bugs.md @@ -1,7 +1,7 @@ #all bugs and improfments of the installer ##bugs -no bugs known yet + - can't add static ip addresses to containers ##maiger improfments - add ssl support to nginx diff --git a/setup.sh b/setup.sh index fd099fc..be0461f 100644 --- a/setup.sh +++ b/setup.sh @@ -10,9 +10,9 @@ lxd init #lxc storage create SSD dir #lxc network create brlive0 ipv4.address=10.255.255.254/16 ipv4.address=none -# create proxy -lxc launch ubuntu:18.04 proxy boot.autostart=true \ - nictype=bridged parent=brlive0 ipv4.address=10.255.0.1/16 +# create Proxy +lxc launch ubuntu:18.04 proxy #boot.autostart=true \ + #nictype=bridged parent=brlive0 ipv4.address=10.255.0.1/16 lxc exec proxy -- apt-get update lxc exec proxy -- apt-get upgrade -y lxc exec proxy -- apt-get install nginx @@ -22,8 +22,8 @@ lxc exec proxy -- chmod +x /root/newsite lxc exec proxy -- chmod +x /root/enablesite # create DNS -lxc lanch ubuntu:18.04 dns boot.autostart=true \ - nictype=bridged parent=brlive0 ipv4.address=10.255.0.11/16 +lxc lanch ubuntu:18.04 dns #boot.autostart=true \ + #nictype=bridged parent=brlive0 ipv4.address=10.255.0.11/16 lxc exec dns -- apt-get update lxc exec dns -- apt-get upgrade -y lxc exec dns -- apt-get install bind9