Browse Source

net0 net1

main
pvincent 2 weeks ago
parent
commit
070f1c6a8b
  1. 2
      sympa/doc/migration.md
  2. 6
      sympa/miaou/miaou-migrate-sympa-from-container

2
sympa/doc/migration.md

@ -99,3 +99,5 @@ test-editor: "| /usr/lib/sympa/bin/queue test-editor@listes.artcode.re"
test-unsubscribe: "| /usr/lib/sympa/bin/queue test-unsubscribe@listes.artcode.re"
test-owner: "| /usr/lib/sympa/bin/bouncequeue test@listes.artcode.re"
```
pct set 911 --net0 "name=eth0,bridge=vmbr0,firewall=1,gw=51.75.85.254,hwaddr=02:00:00:4b:cc:3c,ip=51.75.85.81/32,type=veth"

6
sympa/miaou/miaou-migrate-sympa-from-container

@ -75,9 +75,9 @@ function create_new_container {
miaou-create $CONTAINER
local vmid=$(pct-lookup $CONTAINER)
local net1="net1: $(pct config $vmid | grep ^net0 | cut -d ' ' -f2 | sed 's/name=eth0/name=eth1/')"
pct set $vmid --net0 $SYMPA_NET0
pct set $vmid --net1 $net1
local net1=$(pct config $vmid | grep ^net0 | cut -d ' ' -f2 | sed 's/name=eth0/name=eth1/')
pct set $vmid --net0 "$SYMPA_NET0"
pct set $vmid --net1 "$net1"
}
function import_from_archive {

Loading…
Cancel
Save