Access to your VMware vSphere environmentīelow are the contents of the Ansible Playbook for reference.ansible-galaxy collection install –upgrade -r ~/git/ubuntu-autoinstall/requirements.yml.pip3 install –upgrade -r ~/git/ubuntu-autoinstall/pip_requirements.txt.sudo apt update & sudo apt install python3 python3-pip git xorriso.An Ubuntu 20.04 machine with the following:.To run this Playbook you will need the following: I hope this will be fixed in a future release. Step 5 is required because for some reason Ubuntu’s autoinstall reverts the network configuration to DHCP after rebooting the server. Configure static IP on the Ubuntu Server.Create a VM and install Ubuntu Server 20.04 using the modified ISO.Upload the modified ISO to a vSphere datastore.Modify ISO contents to enable unattended installation.The Playbook I’m showcasing in this article will carry out the following operations: Utilizing Ubuntu’s new autoinstall method together with some Ansible code I managed to get something up and running. Recently, while working on a project, I had to come up with a way to automate Ubuntu Server 20.04 VM installations on vSphere.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |