{"id":1090,"date":"2021-02-27T19:19:15","date_gmt":"2021-02-28T01:19:15","guid":{"rendered":"http:\/\/zewwy.ca\/?p=1090"},"modified":"2021-02-27T19:19:15","modified_gmt":"2021-02-28T01:19:15","slug":"creating-custom-esxi-image","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2021\/02\/27\/creating-custom-esxi-image\/","title":{"rendered":"Creating Custom ESXi Image"},"content":{"rendered":"<p>Follow these steps<\/p>\n<ol>\n<li><a href=\"https:\/\/my.vmware.com\/group\/vmware\/downloads\/\">Download Offline Bundle of ESXi Image<\/a><\/li>\n<li>Download Drivers E.G <a href=\"https:\/\/flings.vmware.com\/usb-network-native-driver-for-esxi\">The Native ESXi USB NIC drivers<\/a><\/li>\n<li><a href=\"http:\/\/zewwy.ca\/index.php\/2020\/08\/05\/installing-powercli-12-0-offline\/\">Install PowerCLI<\/a> (Set-ExecutionPolicy Remotesigned; Import-Module PowershellGet; Install-Module -Name VMware.PowerCLI)<br \/>\n<a href=\"https:\/\/i.imgur.com\/oP0XLN6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/oP0XLN6.png\" alt=\"\" width=\"843\" height=\"633\" \/><\/a><\/li>\n<li>In PowerCLI connect the standard SoftwareDepot by typing:\n<p>Add-EsxSoftwareDepot -DepotUrl &lt;Path to zip&gt;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/8AEUCVY.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/8AEUCVY.png\" alt=\"\" width=\"842\" height=\"490\" \/><\/a><\/li>\n<li>Get the ImageProfile list:\n<p>Get-EsxImageProfile<br \/>\n<a href=\"https:\/\/i.imgur.com\/CgLPVjN.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/CgLPVjN.png\" alt=\"\" width=\"642\" height=\"115\" \/><\/a><\/li>\n<li>Clone standard ImageProfile:\n<p>New-EsxImageProfile -CloneProfile ESXi-6.7.0-8169922-standard -Name MyProfile -Vendor &lt;vendor&gt;<br \/>\n<a href=\"https:\/\/i.imgur.com\/IIOQMOn.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/IIOQMOn.png\" alt=\"\" width=\"842\" height=\"207\" \/><\/a><\/li>\n<li>\u00a0[Only If Required] If your vib file has Acceptance Level &#8211; CommunitySupported, we need to set this Acceptance Level for our ImageProfile:\n<p>Set-EsxImageProfile -ImageProfile MyProfile -AcceptanceLevel CommunitySupported<\/li>\n<li>Add our vib to SoftwareDepot:\n<p>Get-EsxSoftwarePackage -PackageUrl &lt;path to vib&gt;<br \/>\n<a href=\"https:\/\/i.imgur.com\/2RmNJD5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/2RmNJD5.png\" alt=\"\" width=\"840\" height=\"102\" \/><\/a><\/li>\n<li>Add our vib to ImageProfile:\n<p>Add-EsxSoftwarePackage -PackageUrl<\/li>\n<\/ol>\n<p>Error:<br \/>\n<a href=\"https:\/\/i.imgur.com\/TRHmf0E.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/TRHmf0E.png\" alt=\"\" width=\"844\" height=\"271\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.virten.net\/2020\/11\/update-esxi-7-0-with-vmkusb-nic-fling-to-7-0-update-1\/\">Search result.<\/a><\/p>\n<p>Answer driver for specfic version (7.1, need 6.5)<\/p>\n<p>So I downloaded the proper driver but I couldn&#8217;t figure out how to pick the right software package since the &#8220;get&#8221; command was actually already loaded the other driver, so it kept trying to add the 7.1 driver. Only thing I could think of was to close the powershell windows and start fresh&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/mKScn68.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/mKScn68.png\" alt=\"\" width=\"848\" height=\"512\" \/><\/a><\/p>\n<p>10. Export ImageProfile to ISO image:<\/p>\n<p>Export-EsxImageProfile -ImageProfile MyProfile -ExportToIso -FilePath<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/M2X6i6a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/M2X6i6a.png\" alt=\"\" width=\"864\" height=\"60\" \/><\/a><\/p>\n<p>That was it! Sadly the laptop I wanted to use this on was still boot looping, and sadly the USB NIC &#8220;Insagnia&#8221; didn&#8217;t seem to work and was getting NFS4 client failed to load, and not network adapters found on the machine. But was worth a shot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow these steps Download Offline Bundle of ESXi Image Download Drivers E.G The Native ESXi USB NIC drivers Install PowerCLI (Set-ExecutionPolicy Remotesigned; Import-Module PowershellGet; Install-Module -Name VMware.PowerCLI) In PowerCLI connect the standard SoftwareDepot by typing: Add-EsxSoftwareDepot -DepotUrl &lt;Path to zip&gt; Get the ImageProfile list: Get-EsxImageProfile Clone standard ImageProfile: New-EsxImageProfile -CloneProfile ESXi-6.7.0-8169922-standard -Name MyProfile -Vendor &lt;vendor&gt; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2021\/02\/27\/creating-custom-esxi-image\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Creating Custom ESXi Image&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5,8],"tags":[333,14,290,88],"class_list":["post-1090","post","type-post","status-publish","format-standard","hentry","category-hypervisors","category-server-administration","tag-custom","tag-esxi","tag-powercli","tag-vmware"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1090"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1090\/revisions"}],"predecessor-version":[{"id":1091,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1090\/revisions\/1091"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}