Installing a VM
:warning: This process will change during 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
<fqdn>.yamland add an entry fortails::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 root password to our pass repository.
-
Wait for all the other nodes to collect the exported resources from the new node and you're done!