<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.tinkernet.ca/index.php?action=history&amp;feed=atom&amp;title=GhettoVCB_-_clone.sh_Script</id>
	<title>GhettoVCB - clone.sh Script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tinkernet.ca/index.php?action=history&amp;feed=atom&amp;title=GhettoVCB_-_clone.sh_Script"/>
	<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;action=history"/>
	<updated>2026-05-22T17:57:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=504&amp;oldid=prev</id>
		<title>Tinker at 02:42, 2 July 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=504&amp;oldid=prev"/>
		<updated>2020-07-02T02:42:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:42, 2 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This script does not yet have any options (other than editing the script itself, to select the datastore where the new VM will live.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l97&quot; &gt;Line 97:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 98:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        read_options                                &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        read_options                                &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     done&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     done&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Usage:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;cd /vmfs/volumes/Admin/Utilities/ghettoVCB&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;clone.sh VMNAME&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key tinker_wiki-tinker_wiki:diff::1.12:old-503:rev-504 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=503&amp;oldid=prev</id>
		<title>Tinker at 02:39, 2 July 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=503&amp;oldid=prev"/>
		<updated>2020-07-02T02:39:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:39, 2 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Do note that this is just the code to create the menu, no actual handling here.  (Because '''sh''', as implemented in ESXi is kinda limited...)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;Preparing to create &amp;quot;$VMName&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;Preparing to create &amp;quot;$VMName&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;Placing the VM on &amp;quot;$Destination&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;Placing the VM on &amp;quot;$Destination&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;echo &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot; Select your Baseline VM &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot; Select your Baseline VM &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;echo &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;1: Linux Mint 19.3&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;1: Linux Mint 19.3&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;2: SparkyLinux-CLI 5.11&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     echo &amp;quot;2: SparkyLinux-CLI 5.11&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key tinker_wiki-tinker_wiki:diff::1.12:old-501:rev-503 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=501&amp;oldid=prev</id>
		<title>Tinker at 02:34, 2 July 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=501&amp;oldid=prev"/>
		<updated>2020-07-02T02:34:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:34, 2 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Do note that this is just the code to create the menu, no actual handling here.  (Because '''sh''', as implemented in ESXi is kinda limited...)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  !/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key tinker_wiki-tinker_wiki:diff::1.12:old-497:rev-501 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=497&amp;oldid=prev</id>
		<title>Tinker: Created page with &quot; !/bin/sh    export PATH=/bin:/sbin    # ----------------------------------  # Step #1: Define variables  # ----------------------------------  RED='\033[0;41;30m'  STD='\033[...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=GhettoVCB_-_clone.sh_Script&amp;diff=497&amp;oldid=prev"/>
		<updated>2020-07-02T02:23:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; !/bin/sh    export PATH=/bin:/sbin    # ----------------------------------  # Step #1: Define variables  # ----------------------------------  RED=&amp;#039;\033[0;41;30m&amp;#039;  STD=&amp;#039;\033[...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; !/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 export PATH=/bin:/sbin&lt;br /&gt;
 &lt;br /&gt;
 # ----------------------------------&lt;br /&gt;
 # Step #1: Define variables&lt;br /&gt;
 # ----------------------------------&lt;br /&gt;
 RED='\033[0;41;30m'&lt;br /&gt;
 STD='\033[0;0;39m'&lt;br /&gt;
 VMName=$1&lt;br /&gt;
 Destination=&amp;quot;/vmfs/volumes/0-VMs&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # ----------------------------------&lt;br /&gt;
 # Step #2: User defined function&lt;br /&gt;
 # ----------------------------------&lt;br /&gt;
 pause(){&lt;br /&gt;
    read -p &amp;quot;Press [Enter] key to continue...&amp;quot; fackEnterKey&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 clone(){&lt;br /&gt;
    echo &amp;quot;ghettoVCB/clone.sh is creating &amp;quot;$VMName&amp;quot; from &amp;quot;$BaseLine&lt;br /&gt;
    logger &amp;quot;ghettoVCB/clone.sh is creating &amp;quot;$VMName&amp;quot; from &amp;quot;$BaseLine&lt;br /&gt;
 &lt;br /&gt;
    echo &amp;quot;/vmfs/volumes/Admin/CloneMe/&amp;quot;$BaseLine/$BaseLine&amp;quot;-0;&amp;quot;$Destination&amp;quot;;1;&amp;quot;$VMName &amp;gt; CloneIt&lt;br /&gt;
    /vmfs/volumes/Admin/Utilities/ghettoVCB/ghettoVCB-restore.sh -c CloneIt&lt;br /&gt;
 &lt;br /&gt;
    logger &amp;quot;ghettoVCB/clone.sh &amp;quot;$VMName&amp;quot; finished&amp;quot;&lt;br /&gt;
    echo &amp;quot;ghettoVCB/clone.sh &amp;quot;$VMName&amp;quot; finished&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 # function to display menus&lt;br /&gt;
 show_menus() {&lt;br /&gt;
    clear&lt;br /&gt;
    echo &amp;quot;Preparing to create &amp;quot;$VMName&lt;br /&gt;
    echo &amp;quot;Placing the VM on &amp;quot;$Destination&lt;br /&gt;
    echo &amp;quot;22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)&amp;quot;&lt;br /&gt;
    echo &amp;quot; Select your Baseline VM &amp;quot;&lt;br /&gt;
    echo &amp;quot;22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)22:22, 1 July 2020 (EDT)&amp;quot;&lt;br /&gt;
    echo &amp;quot;1: Linux Mint 19.3&amp;quot;&lt;br /&gt;
    echo &amp;quot;2: SparkyLinux-CLI 5.11&amp;quot;&lt;br /&gt;
    echo &amp;quot;3: SparkyLinux-GUI 5.11&amp;quot;&lt;br /&gt;
    echo &amp;quot;4: Windows 10&amp;quot;&lt;br /&gt;
    echo &amp;quot;5: Windows 7&amp;quot;&lt;br /&gt;
    echo &amp;quot;&amp;quot;&lt;br /&gt;
    echo &amp;quot;0. Exit&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 # read input from the keyboard and take an action&lt;br /&gt;
 # Exit when user the user selects 0 form the menu option.                                       &lt;br /&gt;
 read_options(){                                                           &lt;br /&gt;
    local choice                                                  &lt;br /&gt;
    read -p &amp;quot;Enter choice [ 1-5 or 0] &amp;quot; choice                      &lt;br /&gt;
    case $choice in                               &lt;br /&gt;
       1)   echo &amp;quot;Linux Mint 19.3&amp;quot;                                                               &lt;br /&gt;
             BaseLine=&amp;quot;CloneMe-Mint-19.3&amp;quot;                                  &lt;br /&gt;
             clone                                                &lt;br /&gt;
             exit 0                                                 &lt;br /&gt;
             ;;                                   &lt;br /&gt;
       2)   echo &amp;quot;SparkyLinux-CLI 5.11&amp;quot;                                                          &lt;br /&gt;
             BaseLine=&amp;quot;CloneMe-SparkyLinux-CLI-5.11&amp;quot;                       &lt;br /&gt;
             clone                                                &lt;br /&gt;
             exit 0                                                 &lt;br /&gt;
             ;;                                   &lt;br /&gt;
       3)   echo &amp;quot;SparkyLinux-GUI 5.11&amp;quot;                                                          &lt;br /&gt;
             BaseLine=&amp;quot;CloneMe-SparkyLinux-GUI-5.11&amp;quot;                       &lt;br /&gt;
             clone                                                  &lt;br /&gt;
             exit 0                               &lt;br /&gt;
             ;;                                                                                  &lt;br /&gt;
       4)   echo &amp;quot;Windows 10&amp;quot;                                              &lt;br /&gt;
             BaseLine=&amp;quot;CloneMe-Windows-10&amp;quot;          &lt;br /&gt;
             clone                                &lt;br /&gt;
             exit 0                             &lt;br /&gt;
             ;;                                   &lt;br /&gt;
       5)   echo &amp;quot;Windows 7&amp;quot;                              &lt;br /&gt;
             BaseLine=&amp;quot;CloneMe-Windows-7&amp;quot;           &lt;br /&gt;
             clone                  &lt;br /&gt;
             exit 0                           &lt;br /&gt;
             ;;                                   &lt;br /&gt;
       0)   exit 0                                        &lt;br /&gt;
             ;;                                     &lt;br /&gt;
       *)   echo -e &amp;quot;${RED}Error...${STD}&amp;quot; &amp;amp;&amp;amp; sleep 2&lt;br /&gt;
    esac                                      &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 # ----------------------------------------------&lt;br /&gt;
 # Step #3: Trap CTRL+C, CTRL+Z and quit singles  &lt;br /&gt;
 # ----------------------------------------------         &lt;br /&gt;
 trap '' SIGINT SIGQUIT SIGTSTP                     &lt;br /&gt;
                                                     &lt;br /&gt;
 # -----------------------------------           &lt;br /&gt;
 # Step #4: Main logic - infinite loop            &lt;br /&gt;
 # -----------------------------------                    &lt;br /&gt;
 while true                                         &lt;br /&gt;
    do                                               &lt;br /&gt;
       show_menus                                &lt;br /&gt;
       read_options                               &lt;br /&gt;
    done&lt;/div&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
</feed>