-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.html
67 lines (51 loc) · 2.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<iframe width="560" height="315" src="http://www.youtube.com/embed/ocIqmA1hf7s" frameborder="0" allowfullscreen></iframe>
<h3>
Signup for a hosted chef account at <a href="http://www.opscode.com">www.opscode.com</a>
</h3>
<p>
Remember your username, password and organization.
</p>
<h3>
Download and double click on three files:
</h3>
<ul>
<li>Virtualbox from Oracle: <a href="https://www.virtualbox.org/wiki/Downloads">Virtualbox</a></li>
<li>Ubuntu Easybake Preview Image: <a href="https://opscode.box.com/shared/static/k45yhn5obdkrho5m2t00.ova">ubuntu-12.10-easybake-vm.ova</a></li>
<li>Windows Easybake Preview Image: <a href="https://opscode.box.com/shared/static/rr4syu54qsymerrwpgpd.ova">windows-2008-easybake-vm.ova</a></li>
</ul>
<h3>
Start a Virtualbox and run 'knife setup' and 'chef-client'
</h3>
<h4>Windows</h4>
<pre>
Double click on the windows-2008-easybake-vm to import it into virtualbox, take all the defaults.
In virtualbox, double click on your windows-2008-easybake-vm.
On login, open a cmd or powershell and run 'knife setup' providing an organization name and your hosted chef user & pass.
Run chef-client.
Run 'shutdown -h -t 1 REASON (to be added)'
</pre>
<h4>Ubuntu</h4>
<pre>
Double click on the ubuntu-12.10-easybake-vm to import it into virtualbox, take all the defaults.
In virtualbox, double click on your ubuntu-12.10-easybake-vm.
On login, open a terminal and run 'sudo knife setup' providing an organization name and your hosted chef user & pass.
Run 'sudo chef-client'.
Run 'sudo poweroff'.
</pre>
<h3>Clone as many nodes as you need</h3>
<pre>
In the Virtualbox Manager window, select a powereddown easybake-vm and choose Machine->clone from the menu.
Select Reinitialize the MAC address of all network cards.
Select Linked clone.
Start your newly cloned vm, windows will restart once as we change the hostname.
On login to new clone, run (w/ sudo on linux) chef-client within a terminal, cmd or powershell.
</pre>
<h3>See your nodes on <a href="http://manage.opscode.com">manage.opscode.com</a></h3>
<h4>Gotchas</h4>
<ul>
<li>We don't have a chef-repo yet, but git clone should work.</li>
<li>We regenerate user and org keys by default, and copying the validator between windows/linux vms isn't automatic.
</li>
<li>Windows requires a reboot on first boot of new clone for hostname change.
</li>
</ul>