{"id":1527,"date":"2020-07-03T14:03:54","date_gmt":"2020-07-03T18:03:54","guid":{"rendered":"https:\/\/enterpriseadmins.org\/blog\/?p=1527"},"modified":"2020-07-03T14:03:54","modified_gmt":"2020-07-03T18:03:54","slug":"lab-updates-ubuntu-server-20-04-lts-template","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-server-20-04-lts-template\/","title":{"rendered":"Lab Updates: Ubuntu Server 20.04 LTS Template"},"content":{"rendered":"\n<p>Earlier this year I posted a thread on creating an Ubuntu Server 18.04 LTS Template for use in a lab.  You can check that out here: <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/\">https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/<\/a><\/p>\n\n\n\n<p>In late April of this year (2020) Canonical released a new Ubuntu 20.04 LTS edition.  I recently followed the same steps from my previous 18.04 template to build a new template &#8212; but with 2 additional changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Guest OS Customization Fails<\/h3>\n\n\n\n<p>The first issue I noticed was that customization specs were not properly applying, resulting in a deployed VM that had the following symptoms:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>No IP Address customization<\/li><li>No Hostname customization<\/li><li>Network Adapter disconnected<\/li><\/ul>\n\n\n\n<p>I found the following bug report that had a workaround related to a similar previous issue: <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/open-vm-tools\/+bug\/1793715\">https:\/\/bugs.launchpad.net\/ubuntu\/+source\/open-vm-tools\/+bug\/1793715<\/a>.  I also found a VMware KB article with more details related to 18.04 here: <a href=\"https:\/\/kb.vmware.com\/s\/article\/54986\">https:\/\/kb.vmware.com\/s\/article\/54986<\/a>.  While I didn&#8217;t encounter this issue with 18.04, the workaround resolved my issue with 20.04.  Specifically, I performed one action &#8212; removing cloud-init.  I did this by running a single command:<\/p>\n\n\n\n<p><code>sudo apt purge cloud-init<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install package for ifconfig<\/h3>\n\n\n\n<p>While we are modifying packages for this template, there is one command that I was missing &#8212; ifconfig.  While I know I can find the IP other ways (like with the command <code>ip address<\/code>), I still like having ifconfig.  We can include the package containing this command with another command:<\/p>\n\n\n\n<p><code>sudo apt install net-tools<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>Removing one package and adding another are the only differences between my Ubuntu Server 20.04 template and the Ubuntu Server 18.04 template (<a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/\">previous post here<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this year I posted a thread on creating an Ubuntu Server 18.04 LTS Template for use in a lab. You can check that out here: https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/ In late April of this year (2020) Canonical released a new Ubuntu 20.04 &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-server-20-04-lts-template\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9,4],"tags":[],"class_list":["post-1527","post","type-post","status-publish","format-standard","hentry","category-lab-infrastructure","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=1527"}],"version-history":[{"count":1,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1527\/revisions"}],"predecessor-version":[{"id":1528,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1527\/revisions\/1528"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=1527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=1527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=1527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}