Notifications
Clear all

LinuxVm agent.


TechGuy
Posts: 205
Topic starter
(@hxkd)
Estimable Member
Joined: 5 years ago

I have been playing with the linuxvm agent, I have successfully got it working in centos 7 and today I installed it into Ubuntu 20.04, the machine name change and password change works 100% but the ip address change fails, I assumed this was due to a configuration issue, I checked the settings and followed them again and same issue, I then reverted to the uncompiled files to see what the agent would look for, I see the agent looks in the netplan folder and the default file is 50-cloud-init.yaml and my file was names differently, so I renamed the file and tested it with no luck.

I thought it might have been due to a macaddress requirement, and this didnt work either.

Trevor can you possibly point me in the right direction here to see what could be the issue, I though it might have been due to the cloud-init software, and removed this as we not using it, but same issue.

2 Replies
TechGuy
Posts: 205
Topic starter
(@hxkd)
Estimable Member
Joined: 5 years ago

Ok some further info after trying all afternoon, Ubuntu 20.04 uses the ip commands rather than the ifconfig command, I then installed the depreciated ifconfig command systems by using apt-get -install net-tools and this sorted the issue out, now its changing the ip addresses as well, I think the code needs to be updated to use the ip commands rather as a permanent fix.

Reply
TechGuy
Posts: 205
Topic starter
(@hxkd)
Estimable Member
Joined: 5 years ago

I tried getting Centos 8 to work, it seems the agent doesnt work at all, obviously some further development is needed in this side.

Reply
Share: