Hi guys,
Just wondering if any of you have experienced this and hopefully have quick and easy fix.
A client has the need for an autoscaling webserver farm.
They are running vsphere 6 and their preffered os is ubuntu 16.4
What i did is create a golden template minimal ubuntu 16.4 that gets its finally destination and latest updates/grades as either nginx proxy or webserver after the golden image has been cloned.
Here in lies the problem.
The template customization in all cases misforms the /etc/network/interfaces file.
The nic is always identified as ether, while the proper name would be Ens192
If i delete the interfaces file and rename the interfaces.BeforeVMwareCUstomization to interfaces, give a reboot, all goes as expected and i have network again,hence it can pickup the step 2 script.
While i of course could put the remove and rename in stage 2 script and bake it in the golden image, this is not really nice, and would make making change to stage 2 irritating difficult and would also mean breaking up the golden image each time.
Anybody ran in to this and have a work around ?
Thanx !
Just wondering if any of you have experienced this and hopefully have quick and easy fix.
A client has the need for an autoscaling webserver farm.
They are running vsphere 6 and their preffered os is ubuntu 16.4
What i did is create a golden template minimal ubuntu 16.4 that gets its finally destination and latest updates/grades as either nginx proxy or webserver after the golden image has been cloned.
Here in lies the problem.
The template customization in all cases misforms the /etc/network/interfaces file.
The nic is always identified as ether, while the proper name would be Ens192
If i delete the interfaces file and rename the interfaces.BeforeVMwareCUstomization to interfaces, give a reboot, all goes as expected and i have network again,hence it can pickup the step 2 script.
While i of course could put the remove and rename in stage 2 script and bake it in the golden image, this is not really nice, and would make making change to stage 2 irritating difficult and would also mean breaking up the golden image each time.
Anybody ran in to this and have a work around ?
Thanx !