gryf
da1ae93fa2
Added ability for merging options using all possible ways.
...
Currently specifying attributes of VM was done by using command options
during creation, or only required VM name for rebuilding (due to smart
way of storing information within VM definition).
Now, there is possibility for providing all the information using
special key "boxpy_data" in user-script, so that there is no need to
provide that information from command line.
All three ways are respected with following order:
- default, which are hard coded in defaults
- custom user script passed by --cloud-config (or stored in vm in case
of rebuild)
- information which is stored in VM definition (if exists - this only
affects "rebuild" command)
- and finally highest priority have parameters passed by command line.
2021-05-05 20:15:39 +02:00
gryf
359d1cf440
Changed user-data-path param to cloud-config
2021-05-05 17:29:21 +02:00
gryf
ed5535cd4e
Guard against interruption during invalid cloud config.
2021-05-05 17:25:59 +02:00
gryf
9da0e3f6ff
Cacluate hostname out of vm name.
2021-04-20 11:56:46 +02:00
gryf
d4afa6e90b
Added ssh port forwarding port option
2021-04-20 09:57:20 +02:00
gryf
03b6fdb8ec
Remove irrelevant options from completion
2021-04-20 09:55:12 +02:00
gryf
c51603644b
Added missing gnu sed definition and some cosmetic changes for completion script.
2021-04-13 21:44:14 +02:00
gryf
2984109bd5
Made a poor-man progress bar for waiting for cloud init.
2021-04-12 20:58:32 +02:00
gryf
05c3259c76
Changed defaults to use less resources
2021-04-12 20:57:52 +02:00
gryf
180c30c834
Fixed bug for not filles user-data option
2021-04-12 20:56:24 +02:00
gryf
198dfefeeb
Added bash completion
2021-04-12 20:55:04 +02:00
gryf
40ac14723a
Added ability to provide own user-data template
2021-04-12 19:15:51 +02:00
gryf
9b433cb044
Store information about other provided options during createion as extra data.
2021-04-12 17:35:44 +02:00
gryf
11f1ee5dda
Added ability to specify sizes in GB.
2021-04-12 17:34:02 +02:00
gryf
ca713375ea
Add missing media closing
2021-04-11 19:15:53 +02:00
gryf
06480daffb
Simplify commands by using provided abstractions.
2021-04-11 18:59:20 +02:00
gryf
b0a64a6545
Added image abstraction for downloading and converting image.
2021-04-11 18:56:45 +02:00
gryf
b05b9403c4
Added rebuild command.
2021-04-11 18:55:41 +02:00
gryf
fc0a19bf38
Added VBoxManage class for abstraction of vboxmanage calls.
2021-04-11 18:52:57 +02:00
gryf
3babb880e2
Added license file.
2021-04-10 18:49:30 +02:00
gryf
38b6e1b6af
Add possibility to just pass key name.
...
From now, it's possible to just pass the key name, not the full path to
the key. By default it will be looked for in ~/.ssh directory.
2021-04-10 16:48:57 +02:00
gryf
70248bd23b
Added list command.
2021-04-08 21:52:28 +02:00
gryf
69ff7206e5
Introducing custom exceptions tree.
2021-04-08 21:44:54 +02:00
gryf
4029284815
Added destroy class and the corresponding class.
2021-04-08 21:42:49 +02:00
gryf
59c8b926d8
Remove unneeded intermediate function for invoking action class.
2021-04-08 21:29:16 +02:00
gryf
9ee10b4042
Readme update
2021-04-08 20:19:54 +02:00
gryf
ecb9c71c5d
Added other option for mkisofs
2021-04-08 20:19:31 +02:00
gryf
0dded78bd2
Finalize build, removing cloud image, run freshly created vm.
2021-04-08 20:17:41 +02:00
gryf
3332177ab7
Adeded generating of cloud image
2021-04-08 19:34:02 +02:00
gryf
f61652a98d
Attaching media images to vm, fixing some bugs
2021-04-08 19:33:06 +02:00
gryf
8156235d7d
Create and set up VM
2021-04-07 19:35:34 +02:00
gryf
a21ca77597
Deal with the image, change default size.
2021-04-07 19:34:20 +02:00
gryf
dc1bc68cd7
Added checksum check
2021-04-07 09:53:13 +02:00
gryf
bec8f8b4db
Started working on basic stuff, like main class and parsing arguments
2021-04-07 09:20:40 +02:00
gryf
90342e0203
Added readme.
2021-04-07 09:17:56 +02:00