User data is applied to a virtual machine on a specific host. #11233
Replies: 8 comments 2 replies
|
Are VMs on host B able to access network? |
|
Updated: Noticed some interesting behavior. Created another guest network and launched it on another host. Launched 2 virtual machines: one on the same host as the virtual router, and the second on another host. Result: The network appeared only on the virtual machine that is on the same host as the virtual router. And how can I make it so that VMs running on different hosts can use the router and access the network? |
|
@miloserdoff seems like some host configuration issue. You may check the past issues like this, |
|
@shwstppr Unfortunately, your solution did not help me. Maybe I am doing something wrong. Can you give me more specific advice on where to start analyzing this problem? |
If you use vlan, may check if switch ports are configured to trunk mode |
|
@weizhouapache Do I understand correctly that I need to check the ports of the physical switch to which the physical server is connected? |
Exactly |

Uh oh!
There was an error while loading. Please reload this page.
Hello. I have a Ubuntu 22.04 cloud image, user data and several hosts connected.
When I create a VM and assign UserData to it on host A, it creates fine and I can log into it.
UserData:

VM-1
VNC:
But when I create a virtual machine on host B, specify the same image and the same UserData, it does not apply it and does not even change the name of the virtual machine inside (it remains ubuntu)
VM-2
VNC VM-2:
### Could you please advise what needs to be done to make UserData work on other hosts?
All reactions