mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-26 06:42:17 -05:00
use a different range of IP for LXC
This commit is contained in:
parent
3e607698b4
commit
f429ed3bf3
1 changed files with 3 additions and 3 deletions
|
@ -17,10 +17,10 @@ function install_lxc() {
|
|||
apt-get install -y -qq lxc
|
||||
systemctl stop lxc-net
|
||||
cat >> /etc/default/lxc-net <<'EOF'
|
||||
LXC_ADDR="10.0.7.1"
|
||||
LXC_ADDR="10.0.8.1"
|
||||
LXC_NETMASK="255.255.255.0"
|
||||
LXC_NETWORK="10.0.7.0/24"
|
||||
LXC_DHCP_RANGE="10.0.7.2,10.0.7.254"
|
||||
LXC_NETWORK="10.0.8.0/24"
|
||||
LXC_DHCP_RANGE="10.0.8.2,10.0.8.254"
|
||||
LXC_DHCP_MAX="253"
|
||||
EOF
|
||||
systemctl start lxc-net
|
||||
|
|
Loading…
Reference in a new issue