Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-09-08 | feat: "reboot" subcommand | Lars Wirzenius | 3 | -0/+49 | |
Sponsored-by: author | |||||
2023-09-08 | feat: add aliases to some subcommands | Lars Wirzenius | 1 | -0/+3 | |
create = new remove = delete stop = shutdown Sponsored-by: author | |||||
2023-09-08 | refactor: use current clap instead of structopt for command line | Lars Wirzenius | 1 | -27/+18 | |
Sponsored-by: author | |||||
2023-09-01 | fix: include filename in error message of being unable to rm image | Lars Wirzenius | 1 | -2/+7 | |
Sponsored-by: author | |||||
2023-04-07 | fix: bump dependency on virt, fix breakage | Lars Wirzenius | 1 | -3/+2 | |
virt version 0.2.11 had virt::domain::VIR_DOMAIN_AFFECT_CONFIG and other constants. In 0.2.12 it's now virt::sys::VIR_DOMAIN_AFFECT_CONFIG. Bump the dependency version and make necessary changes. Sponsored-by: author | |||||
2022-11-05 | refactor: move the cloud init Python script to a separate file | Lars Wirzenius | 1 | -92/+1 | |
This required adding a build.rs to generate a Rust source from the Python file. Sponsored-by: author | |||||
2022-11-05 | fix: drop unnecessary borrow | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2022-10-09 | Revert "refactor and more: move Python script for cloud-init out of Rust" | Lars Wirzenius | 1 | -1/+92 | |
This reverts commit 36b2ebd1643833700e57c51523d8c9c66f3d0034. | |||||
2022-10-06 | refactor and more: move Python script for cloud-init out of Rust | Lars Wirzenius | 1 | -92/+1 | |
Also, change it muchly to be more easily maintainable, and to use filenames compatible with the sshd role in my debian-ansible collection. Sponsored-by: author | |||||
2022-09-09 | chore: use unwrap_or instead of more complicated structure | Lars Wirzenius | 2 | -3/+3 | |
Sponsored-by: author | |||||
2022-04-29 | feat: optionally turn off authorized keys support in SSH server | Lars Wirzenius | 3 | -0/+26 | |
If the specification has "allow_authorized_keys: false" (possibly from new config setting "default_allow_authorized_keys"), the SSH server configuration will tell the server to not consult a user's authorized keys file at all. Sponsored-by: author | |||||
2022-04-07 | feat: add a user_ca_pubkey field to config, spec | Lars Wirzenius | 3 | -12/+68 | |
With this, there's no need to install an SSH key into root's authorized_keys file. Sponsored-by: author | |||||
2022-02-28 | feat: add a recreate subcommand | Lars Wirzenius | 3 | -0/+49 | |
Sponsored-by: author | |||||
2022-01-29 | feat: allow start, stop, new, delete on multiple specs at once | Lars Wirzenius | 1 | -18/+22 | |
Sponsored-by: author | |||||
2021-12-08 | feat: give a more useful error message when VM image already exists | Lars Wirzenius | 3 | -1/+29 | |
Sponsored-by: author | |||||
2021-11-18 | fix: drop some debugging output | Lars Wirzenius | 2 | -2/+0 | |
Sponsored-by: author | |||||
2021-11-10 | feat: check that virtual network names are syntactically correct | Lars Wirzenius | 3 | -3/+67 | |
Sponsored-by: author | |||||
2021-11-01 | chore: fix code formatting | Lars Wirzenius | 3 | -3/+5 | |
2021-10-19 | feat: `vmadm list` writes names in alphabetical order | Lars Wirzenius | 1 | -1/+3 | |
Sponsored-by: author | |||||
2021-10-16 | feat: allow ~user/ in path names, not just ~/ | Lars Wirzenius | 3 | -29/+30 | |
Add the home-dir crate as a dependency for tilde expansion. Sponsored-by: author | |||||
2021-10-07 | feat: the `spec` and `config` subcommand now output pretty JSON | Lars Wirzenius | 2 | -2/+3 | |
Sponsored-by: author | |||||
2021-08-20 | feat! add support for non-virtual networks | Lars Wirzenius | 2 | -2/+2 | |
The virtual, libvirt-only network foo must now be specified as network=foo, to allow a non-virtual network over a local bridge device be specified as bridge=br0. Sponsored-by: author | |||||
2021-08-08 | feat: expand tilde notation in the CA key field in a spec | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2021-08-06 | feat: add progress reporting | Lars Wirzenius | 11 | -36/+128 | |
Sponsored-by: author | |||||
2021-08-06 | chore: fix small problems found by clippy | Lars Wirzenius | 5 | -9/+9 | |
Sponsored-by: author | |||||
2021-08-05 | feat: if no networks are specified, use default | Lars Wirzenius | 3 | -8/+10 | |
Also, drop lan, wan from test config, because we can't assume they're available in the environment the tests are run in. Sponsored-by: author | |||||
2021-07-25 | fix: actually add networks to VM | Lars Wirzenius | 3 | -8/+22 | |
Sponsored-by: author | |||||
2021-07-25 | feat: check that VM will be getting networks | Lars Wirzenius | 1 | -0/+7 | |
Sponsored-by: author | |||||
2021-07-25 | feat: debug log networks list, to be added to VM | Lars Wirzenius | 1 | -0/+2 | |
Sponsored-by: author | |||||
2021-07-25 | feat: allow use to add a VM on virtual networks | Lars Wirzenius | 5 | -6/+34 | |
Sponsored-by: author | |||||
2021-07-25 | test: verify that "vmadm config" works | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2021-07-25 | feat: do not allow unknown fields in the config | Lars Wirzenius | 1 | -0/+1 | |
Sponsored-by: author | |||||
2021-07-24 | refactor: apply fixes suggested by clippy | Lars Wirzenius | 1 | -2/+2 | |
Sponsored-by: author | |||||
2021-07-24 | refactor: simplify Ok(...?) to just ... | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2021-07-24 | refactor: simplify Ok(...?) to just ... | Lars Wirzenius | 1 | -2/+2 | |
Sponsored-by: author | |||||
2021-07-24 | refactor: use Option::map instead of doing it manually | Lars Wirzenius | 1 | -5/+4 | |
Sponsored-by: author | |||||
2021-07-24 | fix: give correct error for missing image for a spec | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2021-07-12 | feat: subcommand 'spec' | Lars Wirzenius | 4 | -1/+33 | |
Sponsored-by: author | |||||
2021-07-12 | feat: add sub-command "config" | Lars Wirzenius | 4 | -2/+29 | |
Sponsored-by: author | |||||
2021-03-25 | feat: allow ~/ in config, specification files | Lars Wirzenius | 4 | -6/+52 | |
2021-03-25 | refactor: clean up warnings found by clippy | Lars Wirzenius | 3 | -14/+11 | |
2021-03-25 | feat: give more useful and specific error messages | Lars Wirzenius | 8 | -58/+174 | |
2021-03-24 | fix: don't fail if VM is already running and start is requested | Lars Wirzenius | 1 | -2/+4 | |
2021-03-24 | refactor: when starting, stopping do all VMs at once | Lars Wirzenius | 4 | -3/+13 | |
2021-03-24 | refactor: when deleting, ask all VMs to shut down at once, for speed | Lars Wirzenius | 2 | -5/+18 | |
2021-03-24 | refactor: when creating many VMs, create all before waiting for SSH | Lars Wirzenius | 1 | -0/+2 | |
2021-03-21 | feat: optionally mark new VM as autostarted | Lars Wirzenius | 4 | -0/+26 | |
2021-03-14 | fix: VMs can be restarted | Lars Wirzenius | 12 | -36/+195 | |
Previously, the temporary file for the cloud-init configuration ISO was left attached to the VM. This meant the VM couldn't be turned off and back on again: the temporary no longer existed. Now we detach the ISO file after the VM has booted. As a side effect, vmadm has gained start and shutdown subcommands, so that the fix can be tested. | |||||
2021-03-13 | refactor: add a light abstraction over libvirt bindings | Lars Wirzenius | 4 | -86/+123 | |
These do only what vmadm needs, no more. | |||||
2021-03-07 | doc: add doc comments to crate | Lars Wirzenius | 12 | -0/+218 | |