Provision ubuntu: Difference between revisions

From Pumping Station One
No edit summary
Wikibot (talk | contribs)
m Robot: Cosmetic changes
 
(8 intermediate revisions by one other user not shown)
Line 7: Line 7:
=== Settings ===
=== Settings ===


{|class="wikitable"
see [[Proxmox#VM Creation]]
!Section
!Name
!Value
|-
|General
|Name
|${name}
|-
|OS
|Linux/Other
|Linux 3.X/2.6 Kernel (l26)
|-
|CD/DVD
|ISO image
|ubuntu-12.04.3-server-amd64.iso
|-
|Hard Disk
|Bus/Device
|VIRTIO
|-
|Hard Disk
|Bus/Device
|vm-storage-lvm
|-
|Hard Disk
|Cache
|Write Back
|-
|Network
|Network Model
|VirtIO (paravirtualized)
|}


Double click the <code>VM >> Hardware >> Display >> Standard VGA (std)</code> 
== Installation ==
The default works, but on my many monitors, the VNC client window is large enough that the terminal goes past the bottom of the monitor.


*  Press Start
For the most part, defaults work. Pick a hostname that reflects what the machine is for.
*  Press Console


== Post Deploy ==
== Setting up Salt-Minion ==


     sudo apt-get install python-software-properties
     sudo apt-get install python-software-properties
Line 57: Line 23:
edit /etc/salt/minion to include the line:
edit /etc/salt/minion to include the line:


master: bob.ad.pumpingstationone.org
    master: bob.ad.pumpingstationone.org
    id: ${hostname}


Shell into bob, and run
== Setting up the new machine on the salt-master ==
 
Shell into bob.ad.pumpingstationone.org, the salt-master, and run


     sudo salt-key -L
     sudo salt-key -L
     sudo salt-key -a ${hostname}
     sudo salt-key -a ${hostname}
     sudo salt '${hostname}' state.highstate
     sudo salt '${hostname}' state.highstate
At this point, a reboot is a good idea. Salt has probably messed with the host and/or domain name settings, but not applied them. Samba get's a little confused when this information changes, but hasn't been understood system wide.