1
0
mirror of https://github.com/gryf/boxpy.git synced 2026-04-20 09:53:32 +02:00
Commit Graph

132 Commits

Author SHA1 Message Date
gryf e6d4d8ab7a Fix minor issue with pattern for centos image 2022-11-16 09:10:49 +01:00
gryf b7b4ba5cbc Readme update 1.5 2022-11-15 20:33:10 +01:00
gryf 47766b6cd9 Added ability to point to local qcow2 image.
Instead of downloading image from the network, there is a way to point
out cloud user and image within yaml configuration.
2022-11-15 20:27:14 +01:00
gryf 55cb8d5e30 Better messagingn in conf/modules vbox issues 2022-10-16 08:52:55 +02:00
gryf 276ddd8681 Added bash completion for start/stop commands. 1.4 2022-05-23 12:02:58 +02:00
gryf 0fb0d64db6 Added two new commands for starting and stopping VMs. 2022-05-23 12:02:28 +02:00
gryf 847279a990 Align case for command help messages. 2022-05-23 12:01:59 +02:00
gryf 38ed618b5b Added info if vm is running.
Also, added command for acpi shutdown.
2022-05-23 12:00:55 +02:00
gryf 1c39cd1985 Add ability to set different default username.
During cloud init user might want to change default user from the
distribution to something else. It will not be possible to ssh to such
machine using boxpy ssh command - only using ssh directly with the
correct user name would be possible. In this change there is added
possibility for setting username in boxpy_data section with desired
value to be used in ssh command.
2022-04-22 07:53:50 +02:00
gryf ed25a0d208 Fix typo in message. 2022-04-22 07:53:04 +02:00
gryf 20120d898a Add error message in case of wrong config 2022-04-22 07:52:22 +02:00
gryf e63d83fc7f Don't clutter current directory with checksum files.
In case of Centos, there is a need to get the checksum file first to
figure out the correct image filename, during that process checksum file
was left alone in the current directory. Place it in the temp dir in the
first place and than remove after we know the right image filename.
2022-02-08 20:39:03 +01:00
gryf 0093e32b74 Fix for rebuild command and calling vmdestroy function. 1.3.1 2021-11-04 09:26:38 +01:00
gryf 353d848072 Pass more than one machine to destroy command.
From now on, there is a possibility to pass more than one machine to be
destroyed.
1.3
2021-11-04 08:41:13 +01:00
gryf 4581ab0ed0 Specify from which Python version boxpy is supported. 2021-10-19 19:33:15 +02:00
gryf deba0aa621 Narrow down proposed VMs to running only for ssh command. 2021-10-19 19:32:30 +02:00
gryf 6528813d6a Update examples for multinode setup 2021-10-19 19:31:18 +02:00
gryf 9699e61b35 Exit, if image checksum is wrong. 2021-10-03 19:08:15 +02:00
gryf f46432546e Added ability to add url for write_files section. 1.2 2021-10-01 19:15:25 +02:00
gryf fe422576cd Fixed long param for listing VMs. 2021-10-01 19:09:14 +02:00
gryf a7b0984f77 Handle nonexisted VMs for commands. 2021-09-30 21:11:18 +02:00
gryf 085785af46 Added sudo to cloud init status command.
Some systems have to have a strict control, even in system state
information. Prefixed with "sudo" to command to gather information how
cloud init is doing.
2021-09-30 21:00:18 +02:00
gryf 9288179474 Added support for Centos Stream.
Currently default and only version supported is 8, since 9 behaves
differently with similar config drive.
2021-09-29 17:16:09 +02:00
gryf a5702254ca Removed owner field on examples, since it's in a way. 2021-09-29 17:13:35 +02:00
gryf 74053995c8 Refactored Image classes.
There were very similar methods for downloading/proceeding with
checksum for both Ubuntu and Fedora classes. Extracted those two into
methods in base class.
2021-09-29 14:47:03 +02:00
gryf 1999f1dc7e Fixed checking existence of func in args. 2021-09-26 18:53:08 +02:00
gryf 7f99f91933 Fail on yaml parse errors 2021-09-02 18:36:57 +02:00
gryf db8a42518e Rephrase help for VM type option. 2021-09-02 09:27:34 +02:00
gryf c19f4f1a61 Update devstack deployment examples. 2021-08-20 08:24:50 +02:00
gryf d7544f52f6 Added run type option to create and rebuild subcommand.
For now, the only mode VirtualBox VM has launched was headless. For
debugging purposes, there were other types allowed using --type switch
for command create and rebuild, while headless will remain the default
one.
1.1
2021-08-19 21:09:06 +02:00
gryf 3c43263bb9 Fix clashing version from boxpy and subcommands.
Currently, you could pass long version of '--version' option to either
boxpy itself and subcommands create and rebuild. With this patch proper
context is now detected.
2021-08-19 21:08:34 +02:00
gryf bd59dd378e Added boxpy --version option. 1.0 2021-08-13 11:43:33 +02:00
gryf b2a6305728 Add user data file path to info command. 2021-08-13 11:19:34 +02:00
gryf 03b21369e3 Added new option for disabling nested virtualization.
By default, nested virtualization is enabled. It can be disabled by
passing --disable-nested.
2021-08-13 11:14:30 +02:00
gryf 635917faf2 Added ability to listing VMs created by boxpy 2021-07-13 15:54:13 +02:00
gryf 73803e2c4b Fix return value for storageattach method. 2021-07-06 19:51:48 +02:00
gryf 2048455410 Fix issue with undefined port. 2021-07-06 19:50:31 +02:00
gryf 2f7a37aaed Remove silent parameter for poweroff. 2021-07-06 19:50:06 +02:00
gryf 10d7b58ec3 Fixed minor linting issues 2021-07-06 19:48:53 +02:00
gryf 11e3c033c1 Fix for missing default config. 2021-07-05 20:00:38 +02:00
gryf 322e50a8f9 Add support for port passed ports fw. 2021-07-05 20:00:05 +02:00
gryf e324b6771c Pass config object to VBox.create 2021-07-05 19:58:58 +02:00
gryf 9ad861182a Handle forwarding ports mappings in config 2021-07-05 19:45:07 +02:00
gryf b2ef6890ba Added option for forwarding ports. 2021-07-05 18:50:21 +02:00
gryf c23b5f3e49 Handle multiple forwarding ports 2021-07-05 12:39:28 +02:00
gryf e5173c707d Fixed case when there is no user data provided. 2021-07-05 12:08:32 +02:00
gryf be91f6b827 Removed unused variable 2021-07-05 12:07:56 +02:00
gryf 2d83519b1c Minor logging fixes. 2021-06-30 15:31:54 +02:00
gryf 0eea78e65e Updated readme 2021-06-30 15:31:20 +02:00
gryf 822609504d Added info command. 2021-06-27 19:34:05 +02:00