Commit Graph

32 Commits (5fa572cb722acd9f9e99e7f4119a89feb41f2405)

Author SHA1 Message Date
Dustin C. Hatch 5fa572cb72 startvms: Script to start VMs after a network service comes up
This script waits for a network service on a remote host (default LDAP on
Arcturus) to become available and then starts one or more virtual machines. It
is used on Atria to start Bellatrix and Rigel, since they need Active
Directory to be up in order to boot correctly.
2014-12-03 19:05:53 -06:00
Dustin C. Hatch 9ed2cca8e2 Start-VirtualMachines: Script to start remote VMs
This PowerShell script starts KVM virtual machines on a remote host by
connecting to the libvirt daemon over SSH (using plink from the PuTTY suite).

The original intent for this script was to run as a scheduled task, triggered
by the event indicating that Active Directory had started, however, for
unknown reasons, this did not end up working. As such, this script remains
unused, but I am committing it anyway for reference.
2014-12-03 17:31:18 -06:00
Dustin C. Hatch c07ab6bc0a backup: Clarify destination argument in help text 2014-10-14 21:43:17 -05:00
Dustin C. Hatch b84a1a9fa4 backup: Make configuration file argument optional
If not specified, a file named `backups.ini` in the directory specified by the
`XDG_CONFIG_DIR` environment variable (or `~/.config` if it is not set).
2014-10-14 21:42:56 -05:00
Dustin C. Hatch 2f53ee9cda backup: Print informational messages by default
To ensure that output is generated, even when no errors occur, and thus cron
sends an email message, we'll print some informational messages before and
after running the backup. These can be switched off with the `-q`/`--quiet`
argument.
2014-10-12 18:25:53 -05:00
Dustin C. Hatch 3602b4e1ce backup: Delete old files during backup 2014-10-12 18:24:07 -05:00
Dustin C. Hatch 75aced9aca backup: Script to do backups
--HG--
extra : amend_source : 4ca567426083c2760d4a11551bb5398e7b25ac6e
2014-10-12 17:50:04 -05:00
Dustin C. Hatch 79355a87ea Rewrite pingnet.py to use multiple threads
--HG--
extra : amend_source : 595a48f6b8cd4de9bc22e5731e816240e63ab8ff
2014-05-03 14:28:26 -05:00
Dustin C. Hatch 0cea591bb6 pingnet: Add a script to identify available addresses on a network 2014-03-13 09:04:15 -05:00
Dustin C. Hatch 062569a111 wakeonlan: Added Wake-on-LAN magic packet sender script 2014-01-20 21:05:39 -06:00
Dustin C. Hatch 7bfdae8ec5 create-vmachine: Remove unused Portage variables 2014-01-16 21:57:44 -06:00
Dustin C. Hatch b420683c70 create-vmachine: Create libvirt domain earlier in the process
By moving the domain definition task earlier in the provisioning process, it
allows the administrator the option of opening the virtual console in
preparation for the virtual machine's first boot. This may be necessary if,
for example, the boot needs to be closely monitored, as there may not be
enough time to launch the console before the machine starts.
2014-01-16 21:49:49 -06:00
Dustin C. Hatch 42f54e4f63 create-vmachine: Reduce output from ssh-keygen 2014-01-16 21:47:44 -06:00
Dustin C. Hatch 244693943d create-vmachine: Make dhcpcd be quiet 2014-01-16 21:47:07 -06:00
Dustin C. Hatch f63f157199 create-vmachine: Set the time zone in the VM 2014-01-11 17:23:49 -06:00
Dustin C. Hatch 55664477e3 create-vmachine: Clean up VMs that fail to deploy completely 2014-01-11 17:23:31 -06:00
Dustin C. Hatch 242211a599 create-vmachine: Link /etc/mtab to /proc/self/mounts 2014-01-11 11:10:28 -06:00
Dustin C. Hatch 95e33d79d6 create-vmachine: Use LVM block device paths for mounts in fstab
Recently, using LABEL= instead of the actual block device path in /etc/fstab
has caused errors in init.d/localmount because it tries to mount stuff that's
already mounted. Don't really know or care why.
2014-01-11 11:08:53 -06:00
Dustin C. Hatch ba1a431a45 create-vmachine: Don't fail if some SSH host keys can't be generated 2014-01-11 10:56:16 -06:00
Dustin C. Hatch ea1e8b3218 create-vmachine: Don't chroot to generate SSH host keys 2014-01-06 19:19:22 -06:00
Dustin C. Hatch f0d6583755 create-vmachine: Use a stage4 tarball 2013-10-23 07:05:41 -05:00
Dustin C. Hatch 60cb5a7686 create-vmachine: Don't install distcc 2013-10-14 21:18:48 -05:00
Dustin C. Hatch aab3775234 create-vmachine: Make / and /usr read-only 2013-10-14 21:08:22 -05:00
Dustin C. Hatch 3e66d9345d create-vmachine: Prompt for and set a root password 2013-10-14 21:04:17 -05:00
Dustin C. Hatch 1cc87ab55d create-vmachine: Less specific configuration (use Ansible) 2013-10-10 22:09:04 -05:00
Dustin C. Hatch 90b9f06ad8 Backout commit accd78e51407 2013-10-10 21:56:06 -05:00
Dustin C. Hatch c8a26f5004 create-vmachine: Initial Portage configuration 2013-09-22 15:25:57 -05:00
Dustin C. Hatch e94388654c create-vmachine: Add more base packages to install 2013-09-22 15:25:34 -05:00
Dustin C. Hatch 066b1afc04 create-vmachine: Copy resolv.conf to the guest 2013-09-22 12:31:22 -05:00
Dustin C. Hatch e595052d4a create-vmachine: No separate partition for /usr 2013-09-22 12:06:28 -05:00
Dustin C. Hatch 0f5a69d908 create-vmachine: General cleanup and remove Puppet stuff 2013-09-22 11:52:06 -05:00
Dustin C. Hatch 4b357bee36 create-vmachine: Initial commit 2013-09-22 11:44:48 -05:00