Installing a VM
:warning: This process will change during [[policy/tpa-rfc-73-tails-infra-merge-roadmap]] and this page should be updated when that happens.
-
Copy the install-vm.sh script to the hypervisor.
-
Run ./install-vm.sh [-d disksize] [-v vcpu] [-r ram] -n hostname -i ip. This script starts by outputting the root password, be sure to copy that.
-
In puppet-hiera-node, create a file called
.yaml and add an entry for tails::profile::network::interfaces. -
In puppet-code, update the hieradata/node submodule and add a node definition in manifest/nodes.pp
-
Once the install is done, log in on the console as root and run puppet agent -t.
-
Log in to the puppetmaster and run
puppet ca sign <fqdn>. -
Go back to the node you're installing and run
puppet agent -tseveral times. Then, reboot the machine. -
Add the SSH onion address (
cat /var/lib/tor/ssh-hidden-v3/hostname) to onions.mdwn in this repo, as well as the appropriate file under Machines/Servers in summit.wiki. -
Add the SSH fingerprints (
cd /etc/ssh;for i in `ls *pub`;do ssh-keygen -l -f $i;done) to the appropriate file under Machines/Servers in summit.wiki. -
Add the root password to our pass repository.
-
Wait for all the other nodes to collect the exported resources from the new node (this should be done within half an hour) and you're done!