d652bf41f5
run: fix qemu-img convert path typo
...
build & convert: add kubevirt container disk support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-15 10:43:23 +01:00
618b5bc861
use kpartx instead of partprobe ( close #19 )
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-15 10:36:05 +01:00
8659907d62
fix Alpine 3.17 support ( close #16 )
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-15 10:20:37 +01:00
Neosb
c66595115f
kali linux
2022-09-19 09:28:14 +02:00
6ac85912c1
docs: document dependencies and docker install method ( close #10 )
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-13 15:53:55 +02:00
d18e68b138
run in docker if not root or sudo ( fix #5 #9 #11 )
...
set user permissions on image if run with sudo or in docker
run/vbox & run/hetzner: run qemu-img in docker if not available in path
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-13 15:02:38 +02:00
43f2dd5452
Makefile: install: fix missing go generate
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 12:34:34 +02:00
72413b0bac
docs: add homebrew install instructions
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 12:05:27 +02:00
fb5f21f1f3
actions: run tests only if go files or templates changed
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:47:11 +02:00
8f1ae3a8a4
chore: remove sparsecat binary from repo
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:43:16 +02:00
a6163db5b8
actions: publish docs only on tag
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:23:50 +02:00
9d2ceb8cba
docs: regenerate cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:21:45 +02:00
3940cd8975
BREAKING CHANGE: remove root default password, configure it only if provided ( close #7 )
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:19:51 +02:00
7ad6343e6f
goreleaser: add brew support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 10:50:50 +02:00
2cd50ff38c
Makefile: fix completions command
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 10:13:41 +02:00
f855fe9c7a
Makefile: add completions generation
...
goreleaser: fix typo, add completions to release archive
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 10:10:28 +02:00
f1557d104d
fix zsh completion not working with source
...
README.md: add shell completion installation instructions
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 10:01:04 +02:00
7f3b3a859d
Makefile: add install
...
README.md: improve install docs
goreleaser: add README.md to release tarball
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 09:23:33 +02:00
7718c533eb
add pgp public key
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-11 20:02:04 +02:00
0208a2a134
chore: expose builder interface
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-11 20:01:37 +02:00
238d9a51af
templates: do not set root password if empty
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-11 20:00:48 +02:00
bf88399b58
run/hetzner: rollback sparsecat using outside linux
...
Makefile: compute tag: ignore dirty state
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-11 04:01:05 +02:00
c97388fdae
goreleaser: do not run go generate
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 20:31:16 +02:00
e5dcf8defb
Makefile: fix build and release
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 20:10:52 +02:00
badaedc443
goreleaser: enable pre-releases
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:51:56 +02:00
a41be6d27c
fix: dockerfile relative path when running in docker
...
docs: update README.md to current command line api
fix: command line output white for default level
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:36 +02:00
d97b58159c
run/hetzner: upload using sparsecat and run e2fsck
...
docs: add demo scripts
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:36 +02:00
6c93c8be56
tests: fix builder tests: pull image before test
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:36 +02:00
d7f2c453a9
docs: regenerate cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:36 +02:00
d9f253d65c
fix windows build
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
13efc1a646
run/vbox: move console to go.linka.cloud/console
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
c923817c06
run/vbox: improve logging, cleanup on fails, convert to vdi if required
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
35e6aae345
build: fix wrong default Dockerfile path when running in docker
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
9893c8a95a
improved commands output: add --time format option and color output
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
77eac66d01
Makefile: docs-up-to-date: fix exclude paths
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:35 +02:00
4763760a1c
docs: improved nav
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:34 +02:00
941052b33b
docs: fix edit url
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:34 +02:00
7c12ca465a
setup documentation site build and deploy
2022-09-10 19:41:34 +02:00
6d8a8d80f5
docs: regenerate docs and sparsecat binary
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:34 +02:00
e767de2c83
docs: update cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:33 +02:00
480cae12cf
feat: add --raw image creation support
...
refactor: use Option func pattern
fix: build respect the --force flag
fix: compute correct in-docker input and outpout mount paths
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:33 +02:00
eb36d45c35
Makefile: fix docker-push
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:33 +02:00
d0b775ab21
network-manager: fix ifupdown-ng not available, netplan use mac as dhcp identifier
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:33 +02:00
77690dbb57
tests: exclude d2vm_run_qemu.md from diff as defaults change on virtualization features availability
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:33 +02:00
02ca54f141
tests: docs-up-to-date: show diff when failed
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:32 +02:00
82f7d662c7
actions: move docs test to its own job
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:32 +02:00
4720b1cd17
d2vm/run: hetzner: convert image to raw if needed
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:32 +02:00
0192f32905
Makefile: docs up-to-date test: only check docs directory
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:32 +02:00
ecd02424e1
docs: regenerate docs and sparsecat binary
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:32 +02:00
1853fec85a
docs: add hidden docs command to generate markdown cli reference
...
tests: fail if the docs need to be regenerated
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:31 +02:00