12 lines
396 B
Bash
12 lines
396 B
Bash
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
curl -sSL https://raw.githubusercontent.com/gitsang/lxc-iptag/main/lxc-iptag -o /usr/local/bin/lxc-iptag
|
|
curl -sSL https://raw.githubusercontent.com/gitsang/lxc-iptag/main/lxc-iptag.service -o /lib/systemd/system/lxc-iptag.service
|
|
chmod +x /usr/local/bin/lxc-iptag
|
|
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable lxc-iptag.service
|
|
sudo systemctl start lxc-iptag.service
|