No ip full cloned VM from template

rabouin

New Member
May 9, 2019
14
1
1
41
Hi,
Sorry I cannot find any solution. I have create VM installed Ubuntu Srv and transform it in Template.
I have created Full Clone from this template, but I cannot have ip.

Can you please help me ? I have already tried to add these lines and it doesn't works.

Code:
# Loopback
#
auto lo
iface lo inet loopback

# network card
auto eth0
iface eth0 inet dhcp

Version Proxmox : Virtual Environment 5.4-3

Thanks
 
Found solution:
Code:
 ip link set dev eth0 up
 dhclient -v eth0
But why my interface have been desactived ? it was working fine before pass my VM to template