Sean Hulbert1709162565 Posted June 1, 2021 Share Posted June 1, 2021 Is there an xe command that will inject the hostname to the guest when it is being provisioned? I can write a powershell or bash script but would preferer xe command. Xenserver 8.2.x Thank you Link to comment
1 Robert Breker Posted June 4, 2021 Share Posted June 4, 2021 Hi Sean, Unfortunately there is no direct way for xe (or the Hypervisor) to inject a hostname into VMs. VMs operate mostly independently from the host. However, where the guest gets its network configuration via DHCP, you can have the DHCP server provide a static name: https://datatracker.ietf.org/doc/html/rfc1533#section-3.14 Best wishes, Robert 1 Link to comment
Question
Sean Hulbert1709162565
Is there an xe command that will inject the hostname to the guest when it is being provisioned?
I can write a powershell or bash script but would preferer xe command.
Xenserver 8.2.x
Thank you
Link to comment
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now