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
635917faf2
Added ability to listing VMs created by boxpy
2021-07-13 15:54:13 +02:00
73803e2c4b
Fix return value for storageattach method.
2021-07-06 19:51:48 +02:00
2048455410
Fix issue with undefined port.
2021-07-06 19:50:31 +02:00
2f7a37aaed
Remove silent parameter for poweroff.
2021-07-06 19:50:06 +02:00
10d7b58ec3
Fixed minor linting issues
2021-07-06 19:48:53 +02:00
11e3c033c1
Fix for missing default config.
2021-07-05 20:00:38 +02:00
322e50a8f9
Add support for port passed ports fw.
2021-07-05 20:00:05 +02:00
e324b6771c
Pass config object to VBox.create
2021-07-05 19:58:58 +02:00
9ad861182a
Handle forwarding ports mappings in config
2021-07-05 19:45:07 +02:00
b2ef6890ba
Added option for forwarding ports.
2021-07-05 18:50:21 +02:00
c23b5f3e49
Handle multiple forwarding ports
2021-07-05 12:39:28 +02:00
e5173c707d
Fixed case when there is no user data provided.
2021-07-05 12:08:32 +02:00
be91f6b827
Removed unused variable
2021-07-05 12:07:56 +02:00
2d83519b1c
Minor logging fixes.
2021-06-30 15:31:54 +02:00
0eea78e65e
Updated readme
2021-06-30 15:31:20 +02:00
822609504d
Added info command.
2021-06-27 19:34:05 +02:00
21dc3ec2ce
Adding extra data 'creator'.
...
This field would help to distinguish if VM has been created by boxpy, or
manually.
2021-06-27 19:32:18 +02:00
ac47f126c0
Removed surplus get_vm_info call in config.
2021-06-27 19:31:32 +02:00
a975232042
Added additional parameter for get_media_size function.
2021-06-27 19:30:46 +02:00
7a9336f179
Minor fixes for logging. Removed unused exception classes.
2021-06-27 17:26:06 +02:00
d1481ea02f
Added logging messages here and there. Now it should looks better.
2021-06-27 17:17:13 +02:00
a56b76f16d
Changing approach with detecting if cloud init finished.
...
Till now, boxpy was based on the fact, that there was power_state
section, and there was a check if VM is down already. That approach have
their own issues.
Now, there will be no more power-off, there is a check by using
`cloud-init status` command through ssh.
Cleanup/destroy parts has needed some modification, so that there will
be no leftovers from cloud init ISO image.
And finally, there was some tweaks for user-data cloud-init part (mainly
for ssh handling), so that `cloud-init status` will not report phony
errors.
2021-06-26 15:48:43 +02:00
cc4b4da253
Added wrapper on subprocess.run
2021-06-26 11:13:59 +02:00
82c52030c8
Fixes for log verbosity calculations
2021-06-26 10:35:29 +02:00
ca20f8dbe3
Added colored "logging" with adjusted verbosity.
2021-06-25 20:03:18 +02:00
62a805cb00
Added examples for plain devstack deployments for Ubuntu and Fedora.
2021-06-25 16:05:57 +02:00
8b28914deb
Do not overwrite previously set options.
...
If user doesn't provide options from commandline during rebuild, such
option will be overwritten by those stored in VM XML, even if user
change such option in config file. This commit fixing that.
2021-06-20 14:30:22 +02:00
cbb0c6b5af
Change description for create/rebuild and boxpy itself.
2021-06-20 14:29:44 +02:00
0c1a757cf8
Updated kuryr multinode examples
2021-06-20 11:37:56 +02:00
9bae81a993
Removed unneeded condition.
2021-06-20 11:33:24 +02:00
f8f3d3f819
Move setting defaults to Config class.
2021-06-05 20:23:53 +02:00
cd4bc42e54
Added check for already used port.
2021-06-05 20:12:25 +02:00
5cf00a3e09
Rework port for the ssh forwarding.
...
Till now, user has to provide port number (by commandline or through
config file), otherwise 2222 will be set. That's unfortunate in case you
need to have multiple machines and forgot about setting the correct
port. In this patch random port will be used if no port is provided.
2021-06-05 19:14:49 +02:00
81da9d7c13
Added ssh command
2021-06-05 17:54:14 +02:00
3f8dec1f2d
Fix config behavior in case of empty args
2021-06-05 17:09:02 +02:00
e8264c5c69
Update readme file.
2021-06-04 18:54:56 +02:00
1a058a1e2a
Added fedora cloud to supported distros.
2021-06-04 18:39:10 +02:00
de61390d5e
Added ability to select distro. Yet, we still have only one ;)
2021-06-04 18:37:03 +02:00
d78ed6db8b
Parametrize user information
2021-06-04 16:43:06 +02:00
38e37f6274
Fixing some linting issues.
2021-06-04 16:38:00 +02:00
6e84b3befa
Process template before reading files into cloud init.
2021-05-19 19:44:30 +02:00
7647f4d021
Use OVS over OVN in kuryr devstack deployment
2021-05-17 19:16:15 +02:00
5218354e5e
Readme update
2021-05-17 19:15:32 +02:00
4a46d793cb
Parse filenames in global write_files section
2021-05-17 18:56:44 +02:00
074025c089
Make temporary files begin with meaningful prefix
2021-05-17 18:55:01 +02:00
c0e4ad966b
Add ability to write files to be written on guest by providing filename.
2021-05-14 15:07:57 +02:00
d890f28eba
Fixed bash completion for config; added default completion for all other options.
2021-05-14 14:19:00 +02:00
3b59622a68
Added warning if config file doesn't exists.
2021-05-14 13:46:15 +02:00
f6a458e1f9
Save absolute path to the user config file
2021-05-14 13:45:26 +02:00