pct set 100 -net1, but how to remove ?

James Crook

Active Member
Jul 28, 2017
So I'm trying to back files in a container with limited space, so rather than back it up as a file and the pct pull it out I wanted to add or readd a network interface to the container to pipe the file to a network share or scp or ssh.

So I run
$ pct set 100 -net1 name=eth1,bridge=vmbr1,ip=
$ lxc-attach -n 100 -- /home/user/mysqldymp -BLAH | ssh user@ 'cat > /TMP/dump.sql'

Now how do I remove net1 ?
At the moment I'm just changing net1 to vmbr99 and ip
$ pct set 100 -net1 name=eth1,bridge=vmbr99,ip=

I couldn't see a way to hot remove it using pct or lxc.....


Jul 12, 2019
Is there a way to see what has been set already?

I'm thinking of something like # pct set 100 -list for example.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!