Add support for Ubuntu 18.04 in SCVMM 2016
I wanna know if it's possible to add the support of Ubuntu 18.04 inside SCVMM 2016

2 comments
-
Anonymous commented
For Anonymous' comment about making a template for Ubuntu 18.04 Server. If it helps here's a step by step guide I built myself while piecing together everything I needed to build a working Ubuntu 18.04 template for SCVMM 2016. We have our environment setup in a hybrid cloud config which is why I have some Azure stuff installed during the process.
Ubuntu Template Build Steps:
-Run normal Ubuntu install.
-Install the Azure-tuned kernel
sudo apt-get update
sudo apt-get install linux-azure-Install latest virtual kernel
sudo apt-get update
sudo apt-get install linux-azure-Install python
sudo apt-get install python-Install the VMM Tools
./install scvmmguestagent.1.0.2.1075.x64.tar
-Replace the current repositories in the image to use Ubuntu's Azure repos.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i 's/[a-z][a-z].archive.ubuntu.com/azure.archive.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update-Modify the kernel boot line for Grub to include additional kernel parameters for Azure.
sudo vi /etc/default/grub
*use the insert ( I ) command to append*
Find the variable called GRUB_CMDLINE_LINUX_DEFAULT and edit it using the insert command to include the following parametersGRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300"
Save and close file.
*Save the file by hitting the Esc key and then issuing the ":x" command.*
sudo update-grub-Run a final update
sudo apt-get update-Install the Azure Linux Agent:
sudo apt-get update
sudo apt-get install walinuxagent-Deprovision the virtual machine
sudo waagent -force -deprovision
export HISTSIZE=0
logoutDone. Shut her down and create your template using the disk you just created. So far it's been working for me.
Hope this helps someone out there.
-
Anonymous commented
Neither SCVMM 2016 nor SCVMM seem to have any support für Ubuntu 18.04. We can't tag VMs as Ubuntu 18.04. Also the VMM agent doesn't work with Ubuntu 18.04 due to changes in the network config (netplan) and how the hostname is configured. This makes Ubuntu 18.04 VMM templates hard to do.