#How can I clone a VM ?
1 messages · Page 1 of 1 (latest)
Do you use a VM for HA in both locations already?
If you do then ...
what VM software?
Yeah I use a VM for HA on my personal PC and I would like to clone it on the PC admistrator. I use VirtualBox (sorry was eating)
For MAC address policy, since they won't have the same network, I won't chose "Generate New MAC Addresses For All Network Adapters" but between "Include every MAC address of the network" or "Include only MAC address of the NAT network" ? I don't really understand the difference ...
You've moving between networks, you can use option 2
NAT ?
Include every MAC address of the network
ok boss !
and then how do I transfer this clone to my PC ? I see the clone on virtualBox on my personal PC but I don't know how do I put it on my USB key and then being able to power it up on the other PC without needing internet
Because I found the .vdi of the clone but I'm afraid I will need internet when i'll download it on the other PC like my first problem
Copy the file over
As long as no integration needs cloud access it'll be fine
okay i'll try that thanks again boss
You'll want to copy every file in the cloned folder over, not just the .vdi
okay but what do I do with the other files ? I'm used to create a new VM with the .vdi file so I don't know where to put the other ones. I think I'm asking idiot questions 😩
Zip up the entire folder, copy over the zip, extract the zip, point VBox at the extracted folder
okkkkkkkkkkk
Well, you need networking to access it
But the VM and my browser are on the same network since they are on the same PC aren’t they ?
Ok... are you actually having a problem?
Because nothing you've posted says you are
I’ve tried to put the HA url it gave me on internet explorer on the same PC but it’s not working, I would assume it’s because I don’t have internet, and if I want to access it I need to use internet on a PC in the same network no ?
What URL?
That only works if the network supports mDNS
Probably it doesn't
Use the LAN IP (and port)
What LAN IP ?
The one for your HAOS VM
Oh the IPv4 address ?
Yes
I put homeassistant.local:IPv4 ?
Damn still doesn’t work ðŸ˜
Yeah xd
I don’t know what is DHCP … but it says « IPv4 addresses for enp0s3: 10.0.2.15/24 » and I used this one
Does your computer have an address starting 10.0.2.?
Oh no it means I forgot the bridge ahhhh
Okay ive put it but now it doesn’t give me the IPv4 addresses anymore … what can I do ?
Make sure the network you connected the VM to has a DHCP server
VBox can provide that on virtual networks, otherwise ask the network admin
If I don’t have a DHCP server, I need to ask to the network admin to provide me an IP address? I already know the address of my PC so I don’t really understand the goal or what I need to ask him
DHCP is how computers get an address automatically
Your VM needs an address
Either you have to not bridge it to the network and use a virtual network
OR you need an address from the network admin, manually or by DHCP
Oh okay i understand thanks a lot, I’ll will ask him
When I clone a VM, after zip it, put on my usb key, extract the zip, What do I do on Virtual Box. Do I "add" a new VM thanks to the extract file but I can only add the .vbox file ? Or do I create a "New" VM thanks to the vbi file in the extract file ? Because When I do the first option I have a strange error. And when I do "New" it works. The thing is for me I don't take every file of my extract file so for me it's not good no ?
You zip up the whole VM folder
You then extract every file
Then you use the add option in VBox
As I said, when I do "add", I can only take the .vbox file. And then when I try to power it up, it just doesn't power up, the error is : "Nonexistent host networking interface"
So change the interface?
I would love to but I don't know how to do it, I found in the settings User interface but I don't know what to do next and if it's here I can change the host networking interface
Yes I know this one but I can only change the name of the bridge adapter...
Yes but neither of the 2 I can put works, One says "Nonexistent host networking interface" and the other one says "cpum#1:X86_CPUID_FEATURE_ECX_PCID is not supported by the host but has already exposted to the guest
Well... sounds like you need to head over to the VBox forums and get help with VBox