bug workaround: no static IP addesses for containers
This commit is contained in:
2
bugs.md
2
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
|
||||
|
||||
10
setup.sh
10
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
|
||||
|
||||
Reference in New Issue
Block a user