{"id":247,"date":"2010-09-09T10:42:04","date_gmt":"2010-09-09T16:42:04","guid":{"rendered":"http:\/\/benincosa.com\/blog\/?p=247"},"modified":"2014-11-19T11:25:59","modified_gmt":"2014-11-19T17:25:59","slug":"esxi-4-1-setting-license-via-command-line","status":"publish","type":"post","link":"https:\/\/benincosa.com\/?p=247","title":{"rendered":"ESXi 4.1: setting license via command line"},"content":{"rendered":"<p>Setting the license at the command line is done with the following command:<br \/>\n[cc lang=&#8221;bash&#8221;]<br \/>\nvim-cmd vimsvc\/license<br \/>\n[\/cc]<\/p>\n<p>If you run it you&#8217;ll see that one of the options is to &#8211;set=string.<br \/>\nBut if you run it like this:<br \/>\n[cc lang=&#8221;bash&#8221;]<br \/>\nvim-cmd vimsvc\/license &#8211;set=XXXXX-XXXXX-XXXXX-XXXXX-XXX11<br \/>\n[\/cc]<br \/>\nYou will get an error.  <\/p>\n<p>The right way to do it is:<br \/>\n[cc lang=&#8221;bash&#8221;]<br \/>\nvim-cmd vimsvc\/license &#8211;set XXXXX-XXXXX-XXXXX-XXXXX-XXX11<br \/>\n[\/cc]<br \/>\nNotice there is no &#8216;=&#8217;.  I would ask that someone please update the help message here.<\/p>\n<p>You can run it again with the &#8211;show option and you&#8217;ll see your license has been accepted \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting the license at the command line is done with the following command: [cc lang=&#8221;bash&#8221;] vim-cmd vimsvc\/license [\/cc] If you run it you&#8217;ll see that one of the options is to &#8211;set=string. But if you run it like this: [cc lang=&#8221;bash&#8221;] vim-cmd vimsvc\/license &#8211;set=XXXXX-XXXXX-XXXXX-XXXXX-XXX11 [\/cc] You will get an error. The right way to do&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[74,39],"tags":[89,87,88,90,981],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/247"}],"collection":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":1,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions\/248"}],"wp:attachment":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}