summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-07feat: add a user_ca_pubkey field to config, specLars Wirzenius4-13/+78
With this, there's no need to install an SSH key into root's authorized_keys file. Sponsored-by: author
2022-02-28Merge branch 'recreate' into 'main'Lars Wirzenius4-0/+57
feat: add a recreate subcommand Closes #33 See merge request larswirzenius/vmadm!57
2022-02-28feat: add a recreate subcommandLars Wirzenius4-0/+57
Sponsored-by: author
2022-01-29Merge branch 'many' into 'main'Lars Wirzenius2-18/+83
feat: allow start, stop, new, delete on multiple specs at once Closes #32 See merge request larswirzenius/vmadm!56
2022-01-29feat: allow start, stop, new, delete on multiple specs at onceLars Wirzenius2-18/+83
Sponsored-by: author
2022-01-21Merge branch 'runcmd' into 'main'Lars Wirzenius3-95/+13
refactor: use lib/runcmd's steps instead of custom ones See merge request larswirzenius/vmadm!55
2022-01-21refactor: use lib/runcmd's steps instead of custom onesLars Wirzenius3-95/+13
Subplot's lib/runcmd provides a "when I run ..." step that we can use, instead of having a custom "when I invoke ..." step. Less code, fewer bugs. Sponsored-by: author
2021-12-08Merge branch 'eexist-msg' into 'main'Lars Wirzenius4-1/+56
feat: give a more useful error message when VM image already exists Closes #29 See merge request larswirzenius/vmadm!54
2021-12-08feat: give a more useful error message when VM image already existsLars Wirzenius4-1/+56
Sponsored-by: author
2021-12-08Merge branch 'fix' into 'main'Lars Wirzenius1-2/+2
fix: update metadata for current Subplot See merge request larswirzenius/vmadm!53
2021-12-08fix: update metadata for current SubplotLars Wirzenius1-2/+2
Sponsored-by: author
2021-11-18Merge branch 'quiet' into 'main'Lars Wirzenius2-2/+0
fix: drop some debugging output Closes #30 See merge request larswirzenius/vmadm!52
2021-11-18fix: drop some debugging outputLars Wirzenius2-2/+0
Sponsored-by: author
2021-11-10Merge branch 'net-syntax' into 'main'Lars Wirzenius7-28/+144
check network names Closes #25 See merge request larswirzenius/vmadm!51
2021-11-10feat: check that virtual network names are syntactically correctLars Wirzenius6-27/+139
Sponsored-by: author
2021-11-10fix: prepend Cargo target directory to PATHLars Wirzenius1-1/+5
Sponsored-by: author
2021-11-06Merge branch 'fix' into 'main'Lars Wirzenius1-2/+2
fix: make checks for memory and disk less sensitive to variance See merge request larswirzenius/vmadm!50
2021-11-06fix: make checks for memory and disk less sensitive to varianceLars Wirzenius1-2/+2
Sponsored-by: author
2021-11-01Merge branch 'fix' into 'main'Lars Wirzenius3-3/+5
chore: fix code formatting See merge request larswirzenius/vmadm!49
2021-11-01chore: fix code formattingLars Wirzenius3-3/+5
2021-10-19Merge branch 'ordered-list' into 'main'Lars Wirzenius1-1/+3
feat: `vmadm list` writes names in alphabetical order Closes #26 See merge request larswirzenius/vmadm!48
2021-10-19feat: `vmadm list` writes names in alphabetical orderLars Wirzenius1-1/+3
Sponsored-by: author
2021-10-16Merge branch 'home-dir' into 'main'Lars Wirzenius5-33/+70
feat: allow ~user/ in path names, not just ~/ See merge request larswirzenius/vmadm!47
2021-10-16feat: allow ~user/ in path names, not just ~/Lars Wirzenius5-33/+70
Add the home-dir crate as a dependency for tilde expansion. Sponsored-by: author
2021-10-07Merge branch 'pretty' into 'main'Lars Wirzenius2-2/+3
feat: the `spec` and `config` subcommand now output pretty JSON Closes #27 See merge request larswirzenius/vmadm!46
2021-10-07feat: the `spec` and `config` subcommand now output pretty JSONLars Wirzenius2-2/+3
Sponsored-by: author
2021-10-06Merge branch 'fix' into 'main'Lars Wirzenius2-28/+48
fix things so tests pass See merge request larswirzenius/vmadm!45
2021-10-06fix(subplot/vmadm.yaml): update bindings file to use new syntaxLars Wirzenius1-11/+31
Current Subplot requires a different form for the YAML: the impl key. Sponsored-by: author
2021-10-06fix(vmadm.md): expand tab to spacesLars Wirzenius1-17/+17
This fixes a YAML parsing problem. I don't know why it hasn't be a problem before. Sponsored-by: author
2021-09-24Merge branch 'virtinstdep' into 'main'Lars Wirzenius1-1/+1
fix: add virtinst as a dependency Closes #23 See merge request larswirzenius/vmadm!44
2021-09-24fix: add virtinst as a dependencyLars Wirzenius1-1/+1
The Debian virtinst package contains the virt-install command, which vmadm always needs to create virtual machines. Sponsored-by: author
2021-08-20Merge branch 'default-network' into 'main'Lars Wirzenius3-4/+47
feat! add support for non-virtual networks See merge request larswirzenius/vmadm!43
2021-08-20feat! add support for non-virtual networksLars Wirzenius3-4/+47
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-08Merge branch 'tilde' into 'main'Lars Wirzenius2-5/+6
feat: expand tilde notation in the CA key field in a spec See merge request larswirzenius/vmadm!42
2021-08-08feat: expand tilde notation in the CA key field in a specLars Wirzenius2-5/+6
Sponsored-by: author
2021-08-06Merge branch 'progress' into 'main'Lars Wirzenius14-45/+137
add some progress reporting Closes #24 See merge request larswirzenius/vmadm!41
2021-08-06feat: add progress reportingLars Wirzenius11-36/+128
Sponsored-by: author
2021-08-06chore: fix small problems found by clippyLars Wirzenius5-9/+9
Sponsored-by: author
2021-08-05Merge branch 'progress' into 'main'Lars Wirzenius5-14/+15
feat: if no networks are specified, use default See merge request larswirzenius/vmadm!40
2021-08-05feat: if no networks are specified, use defaultLars Wirzenius5-14/+15
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-25Merge branch 'log' into 'main'Lars Wirzenius5-12/+38
fix adding networks to VMs See merge request larswirzenius/vmadm!39
2021-07-25fix: actually add networks to VMLars Wirzenius4-12/+27
Sponsored-by: author
2021-07-25feat: check that VM will be getting networksLars Wirzenius1-0/+7
Sponsored-by: author
2021-07-25feat: debug log networks list, to be added to VMLars Wirzenius1-0/+2
Sponsored-by: author
2021-07-25test: verify both dicts have the same keyLars Wirzenius1-0/+2
Sponsored-by: author
2021-07-25Merge branch 'network' into 'main'Lars Wirzenius15-573/+215
allow networks to be specified Closes #18 See merge request larswirzenius/vmadm!38
2021-07-25doc: document new network fielddsLars Wirzenius1-0/+4
Sponsored-by: author
2021-07-25feat: allow use to add a VM on virtual networksLars Wirzenius6-6/+91
Sponsored-by: author
2021-07-25test: make equality check more genericLars Wirzenius1-2/+17
Sponsored-by: author
2021-07-25test: make tilde expansion be more genericLars Wirzenius1-6/+12
Sponsored-by: author