|
|
@ -74,6 +74,8 @@ function rename_old_container { |
|
|
|
|
|
|
|
|
function create_new_container { |
|
|
function create_new_container { |
|
|
miaou-create $CONTAINER |
|
|
miaou-create $CONTAINER |
|
|
|
|
|
miaou-exec $CONTAINER -- apt-get update |
|
|
|
|
|
miaou-exec $CONTAINER -- apt-get dist-upgrade -y |
|
|
|
|
|
|
|
|
local vmid=$(pct-lookup $CONTAINER) |
|
|
local vmid=$(pct-lookup $CONTAINER) |
|
|
local net1=$(pct config $vmid | grep ^net0 | cut -d ' ' -f2 | sed 's/name=eth0/name=eth1/') |
|
|
local net1=$(pct config $vmid | grep ^net0 | cut -d ' ' -f2 | sed 's/name=eth0/name=eth1/') |
|
|
|