bug workaround: no static IP addesses for containers

This commit is contained in:
MReenen
2018-06-04 20:28:19 +02:00
parent 54c16db080
commit 3142b686e4
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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