Difference between revisions of "Provision ubuntu"
m (Robot: Cosmetic changes) |
|||
Line 43: | Line 43: | ||
|} | |} | ||
− | Double click the <code>VM >> Hardware >> Display >> Standard VGA (std)</code> | + | Double click the <code>VM >> Hardware >> Display >> Standard VGA (std)</code> |
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. | 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 |
− | * | + | * Press Console |
== Installation == | == Installation == | ||
− | For the most part, defaults work. | + | For the most part, defaults work. Pick a hostname that reflects what the machine is for. |
== Setting up Salt-Minion == | == Setting up Salt-Minion == | ||
Line 74: | Line 74: | ||
sudo salt '${hostname}' state.highstate | sudo salt '${hostname}' state.highstate | ||
− | At this point, a reboot is a good idea. | + | 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. |
Revision as of 00:28, 18 March 2014
Proxmox
Log In
https://10.100.200.51:8006/
Settings
Press the "Create VM" Button and use the following settings.
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 VM >> Hardware >> Display >> Standard VGA (std)
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
- Press Console
Installation
For the most part, defaults work. Pick a hostname that reflects what the machine is for.
Setting up Salt-Minion
sudo apt-get install python-software-properties sudo add-apt-repository ppa:saltstack/salt sudo apt-get update sudo apt-get install salt-minion
edit /etc/salt/minion to include the line:
master: bob.ad.pumpingstationone.org id: ${hostname}
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 -a ${hostname} 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.
Back on the new box, run the following commands:
sudo net ads join -U [email protected]
If you get a message about dns update failing, get the ip addresses and run the following commands on bob:
samba-tool dns add bob ad.pumpingstationone.org ${hostname} A 10.100.1.x -k yes samba-tool dns add bob ad.pumpingstationone.org ${hostname} AAAA 2601::xx -k yes