{"id":566,"date":"2019-04-02T13:39:31","date_gmt":"2019-04-02T12:39:31","guid":{"rendered":"https:\/\/hypervlab.co.uk\/?p=566"},"modified":"2019-07-30T07:04:56","modified_gmt":"2019-07-30T06:04:56","slug":"configure-linux-integration-services-on-ubuntu-server-18-04-02-lts","status":"publish","type":"post","link":"https:\/\/hypervlab.co.uk\/?p=566","title":{"rendered":"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>In the previous article i blogged about installing Ubuntu 18.04.02 LTS and can be found here &#8211; <a rel=\"noreferrer noopener\" aria-label=\"Installing Ubuntu 18.04.02 LTS on Hyper-V (opens in a new tab)\" href=\"https:\/\/hypervlab.co.uk\/2019\/04\/installing-ubuntu-18-04-02-lts-on-hyper-v\/\" target=\"_blank\">Installing Ubuntu 18.04.02 LTS on Hyper-V<\/a><\/p>\n\n\n\n<p>This is the follow on blog post about getting the integration services tools installed and configured for the virtual machine which we just created. <\/p>\n\n\n\n<p>According to the Microsoft Docs for Ubuntu Virtual Machine <a rel=\"noreferrer noopener\" aria-label=\"Link (opens in a new tab)\" href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/virtualization\/hyper-v\/supported-ubuntu-virtual-machines-on-hyper-v\" target=\"_blank\"><strong>Link<\/strong><\/a>, they state that the LIS package is built into the OS.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"112\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-48.png\" alt=\"\" class=\"wp-image-568\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-48.png 945w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-48-300x36.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-48-768x91.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-48-640x76.png 640w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<p>However, when you look at the Networking tab Virtual Machine under Hyper-V Manager you can see that the IP Address field is blank.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"201\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-50.png\" alt=\"\" class=\"wp-image-570\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-50.png 953w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-50-300x63.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-50-768x162.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-50-640x135.png 640w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><\/figure>\n\n\n\n<p>Now to resolve this, in the past, I had to spend a couple of minutes trying to find the official article from Microsoft (<strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/virtualization\/hyper-v\/supported-ubuntu-virtual-machines-on-hyper-v\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link (opens in a new tab)\">Link<\/a><\/strong>) which provided the solution. to save time I took the contents of the article and turned it into a dead simple install script<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#!\/bin\/bash \n# Microsoft Hyper-V Intergration Services (Ubuntu\/Debian Install Script)\n# Author: Simon Lee\n# Script Revision: 1.0\n# Description: Install linux-virtual kernal for Ubuntu\/Debian Server\n\n# Clear Current Screen\nclear\n\n# Check Session Status\nif [[ $EUID -ne 0 ]]; then\n   echo \"This script must be run as root\"\n   exit 1\nelif [[ $EUID -eq 0 ]]; then\n   echo -e \"Session Running as \\e[36mROOT\\e[0m\"\nfi\n\n# Update Local System Packages \napt update &amp;&amp; apt -y upgrade\n\n# Add hv_modules to \/etc\/initramfs-tools\/modules\necho 'hv_vmbus' &gt;&gt; \/etc\/initramfs-tools\/modules\necho 'hv_storvsc' &gt;&gt; \/etc\/initramfs-tools\/modules\necho 'hv_blkvsc' &gt;&gt; \/etc\/initramfs-tools\/modules\necho 'hv_netvsc' &gt;&gt; \/etc\/initramfs-tools\/modules\n\n# Replace Out of Box Kernal with linux-virtual\napt -y install linux-virtual linux-cloud-tools-virtual linux-tools-virtual\n\n# Update Initramfs\nupdate-initramfs -u\n\n# Reboot Server\nreboot<\/pre>\n\n\n\n<p>If you want to run this direct on your virtual machine you can execute:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/tmp &amp;&amp; wget https:\/\/raw.githubusercontent.com\/hypervlab\/hypervlab-resources\/master\/hyper-v\/linux\/setup_ubuntulis.sh &amp;&amp; sudo bash setup_ubuntulis.sh <br><\/pre>\n\n\n\n<p>Once the server has rebooted and we refresh the Hyper-V Manger console and look at the Networking tab we now get an IP Address.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"202\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-51.png\" alt=\"\" class=\"wp-image-571\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-51.png 956w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-51-300x63.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-51-768x162.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/image-51-640x135.png 640w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>In the previous article i blogged about installing Ubuntu 18.04.02 LTS and can be found here &#8211; Installing Ubuntu 18.04.02 LTS on Hyper-V This is the follow on blog post about getting the integration services tools installed and configured for the virtual machine which we just created. According to the Microsoft Docs for Ubuntu Virtual [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,32],"tags":[124,125,104,111,128,121,127,123,113,126],"class_list":["post-566","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-hyper-v","category-ubuntu","tag-generationtwo","tag-gentwo","tag-hyperv","tag-installation","tag-integrationservices","tag-linux","tag-microsoft","tag-ubuntu","tag-virtualization","tag-virtualmachine"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hypervlab.co.uk\/?p=566\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB\" \/>\n<meta property=\"og:description\" content=\"Reading Time:  2 minutesIn the previous article i blogged about installing Ubuntu 18.04.02 LTS and can be found here &#8211; Installing Ubuntu 18.04.02 LTS on Hyper-V This is the follow on blog post about getting the integration services tools installed and configured for the virtual machine which we just created. According to the Microsoft Docs for Ubuntu Virtual [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hypervlab.co.uk\/?p=566\" \/>\n<meta property=\"og:site_name\" content=\"HypervLAB\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-02T12:39:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-30T06:04:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Simon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/smoon_lee\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566\",\"url\":\"https:\/\/hypervlab.co.uk\/?p=566\",\"name\":\"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB\",\"isPartOf\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png\",\"datePublished\":\"2019-04-02T12:39:31+00:00\",\"dateModified\":\"2019-07-30T06:04:56+00:00\",\"author\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\"},\"breadcrumb\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hypervlab.co.uk\/?p=566\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566#primaryimage\",\"url\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png\",\"contentUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=566#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hypervlab.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hypervlab.co.uk\/#website\",\"url\":\"https:\/\/hypervlab.co.uk\/\",\"name\":\"HypervLAB\",\"description\":\"Blogging about all thing Microsoft\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hypervlab.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\",\"name\":\"Simon Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"caption\":\"Simon Lee\"},\"description\":\"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \\\"hypervlab\\\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.\",\"sameAs\":[\"https:\/\/hypervlab.co.uk\",\"https:\/\/www.linkedin.com\/in\/simon-john-lee\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee\"],\"url\":\"https:\/\/hypervlab.co.uk\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hypervlab.co.uk\/?p=566","og_locale":"en_GB","og_type":"article","og_title":"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB","og_description":"Reading Time:  2 minutesIn the previous article i blogged about installing Ubuntu 18.04.02 LTS and can be found here &#8211; Installing Ubuntu 18.04.02 LTS on Hyper-V This is the follow on blog post about getting the integration services tools installed and configured for the virtual machine which we just created. According to the Microsoft Docs for Ubuntu Virtual [&hellip;]","og_url":"https:\/\/hypervlab.co.uk\/?p=566","og_site_name":"HypervLAB","article_published_time":"2019-04-02T12:39:31+00:00","article_modified_time":"2019-07-30T06:04:56+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png","type":"image\/png"}],"author":"Simon Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/smoon_lee","twitter_misc":{"Written by":"Simon Lee","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hypervlab.co.uk\/?p=566","url":"https:\/\/hypervlab.co.uk\/?p=566","name":"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS - HypervLAB","isPartOf":{"@id":"https:\/\/hypervlab.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hypervlab.co.uk\/?p=566#primaryimage"},"image":{"@id":"https:\/\/hypervlab.co.uk\/?p=566#primaryimage"},"thumbnailUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png","datePublished":"2019-04-02T12:39:31+00:00","dateModified":"2019-07-30T06:04:56+00:00","author":{"@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359"},"breadcrumb":{"@id":"https:\/\/hypervlab.co.uk\/?p=566#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hypervlab.co.uk\/?p=566"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/?p=566#primaryimage","url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png","contentUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/04\/feature_installing_ubuntu_lis.png","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/hypervlab.co.uk\/?p=566#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hypervlab.co.uk\/"},{"@type":"ListItem","position":2,"name":"Configure Linux Integration Services on Ubuntu Server 18.04.02 LTS"}]},{"@type":"WebSite","@id":"https:\/\/hypervlab.co.uk\/#website","url":"https:\/\/hypervlab.co.uk\/","name":"HypervLAB","description":"Blogging about all thing Microsoft","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hypervlab.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359","name":"Simon Lee","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","caption":"Simon Lee"},"description":"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \"hypervlab\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.","sameAs":["https:\/\/hypervlab.co.uk","https:\/\/www.linkedin.com\/in\/simon-john-lee\/","https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee"],"url":"https:\/\/hypervlab.co.uk\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=566"}],"version-history":[{"count":0,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/media\/574"}],"wp:attachment":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}