Anonymous

My feedback

  1. 6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General VMM Feedback  ·  Flag idea as inappropriate…  ·  Admin →
    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 parameters

    GRUB_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
    logout

    Done. 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 supported this idea  · 

Feedback and Knowledge Base