[SOLVED] Set Specific MAC after clone

bit2gb

Well-Known Member
Jul 20, 2016
84
2
48
28
Hi,
I want to set a specific mac after i create a clone using a template because i have dhcp server and i don't have acces to it.
If i set same mac i receiv same ip so how can i edit mac from terminal without modify conf vm file.

Thanks
 
Hi,
to set VM specific configs from the CLI have a look at `qm set <vmid>` in `man qm`. There you can also set the network devices conf via the --net[n] parameter. Be careful as this will set the whole property string to the new one, not simply update the old (so all not given properties are set to default).
 
thx, i dont know why i dont remember about set option.
final form it's:

qm set 101 -net0 e1000=32:63:47:C3:67:D9,bridge=vmbr0,firewall=1

Thanks
 

About

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 yours easily in our online shop.

Buy now!