adphi
0ecdf57a6a
feat: add --dns and --dns-search flags to customize the vm dns configuration
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2026-01-21 21:41:38 +01:00
adphi
f799dc4891
feat: add --hostname flag to customize the vm hostname
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2026-01-21 21:41:37 +01:00
adphi
75a9f8d9a9
templates: improve docker build layers caching
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2026-01-21 21:41:37 +01:00
adphi
553f7f8d4b
fix: squash image layers during build
...
close #75
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2026-01-21 19:05:18 +01:00
adphi
113541c1d6
chore: update distro releases
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2026-01-21 18:49:43 +01:00
adphi and Adphi
fe4e9b2b3d
[skip ci] docs: explain why root privileges are required
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2025-04-10 11:36:16 +02:00
adphi
b7e95d73b1
tests: fix manifest for centos:latest not found
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2025-04-10 11:25:26 +02:00
adphi
dc430fe1b7
chore: upgrade actions/cache to v3
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2025-03-25 13:09:34 +01:00
adphi and Adphi
d8ee37833e
add ubuntu 16.04 support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2024-08-23 15:08:21 +02:00
adphi
e31bc93074
centos-stream-9: fix Dockerfile template
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2024-07-09 19:05:28 +02:00
adphi and Adphi
f711f8919d
fix vhd format support
...
closes #47
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2024-05-08 17:06:20 +02:00
adphi
1934915ae8
templates: clean package manager cache
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-14 12:42:52 +02:00
adphi
d54b3f9a2c
arm64 support with grub-efi
...
* build / convert: add `--platform` flag to support linux/amd64 &
linux/arm64
* build: add `--pull` flag
* run/hetzner: add `--type` flag to select server type
* run/hetzner: add `--location` flag to select server location
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-13 17:42:39 +02:00
adphi
f8fc729486
grub and grub-efi not supported for CentOS
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-13 13:42:00 +02:00
adphi
a41bbdb745
add grub-efi support
...
* tests: increase timeout
* ci: split e2e tests
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-13 11:06:26 +02:00
adphi
d4c3476031
docs: update cli and README
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 19:23:48 +02:00
adphi
fb3ee62962
add fat32 boot partition support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 19:23:47 +02:00
adphi
384a4e436c
docs: update cli and README
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 18:13:35 +02:00
adphi
a22bf9caf1
fix debian stretch support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 18:13:34 +02:00
adphi
4e533b8044
add grub support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 18:13:34 +02:00
adphi
a003e176f5
chore: bootloader abtraction
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-09-11 13:44:12 +02:00
adphi
ec33a7ad74
actions: move ubuntu 18 runners to latest
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-06-04 15:16:45 +02:00
adphi
2970af4873
update command line docs
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-06-04 14:47:40 +02:00
adphi
9abb66ad1d
run/hetzner: add split-boot support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-04-23 17:30:45 +02:00
adphi
6ef6df535d
deps: update all
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-04-23 14:24:05 +02:00
adphi and Adphi
93ba19a1fa
fix execution exit code on error
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
fb33b2a74e
luks: do not support ubuntu < 20.04 and debian < 10
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
8c36d42e06
luks: fix centos Dockerfile template
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
709f24b5df
actions: add end-to-end tests as release dependency
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
f7b4861b1d
tests: fix permissions error
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
0c3a736977
actions: move e2e test to a separated step
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
f75b0c7313
luks: fix ubuntu <22.04 support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
bfa5f0df1d
save docker image to disk before flatten
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
be88bc29f5
add keep-cache option to preserve intermediate docker images
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
4780228c95
luks: implements support for centos
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
2f34e19636
luks: implements support for debian like distibutions
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
3ec9bdfb01
luks: implements support for Alpine
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-03-01 14:45:27 +01:00
adphi and Adphi
fae73e71bc
chore: upgrade go to 1.20
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-23 13:30:24 +01:00
adphi and Adphi
74aac3fdcb
actions: add end-to-end tests
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-23 13:30:24 +01:00
adphi and Adphi
f50f8d0f93
actions: build release snapshot only on main and tags
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-23 13:30:24 +01:00
adphi and Adphi
1970ac19e4
run/qemu: remove usb and device flags
...
refactor: move qemu to its own package
tests: implements end to end tests for the convert command with the following images: alpine:3.17, ubuntu:20.04, debian:11, centos:8
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-23 13:30:24 +01:00
adphi and Adphi
532ee3f1a3
add split boot partiton support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-22 18:09:18 +01:00
adphi
490f235c6d
docs: configure CNAME
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-17 00:39:14 +01:00
adphi
466d6d40d3
deps: go mod tidy
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-15 11:29:40 +01:00
adphi
bf2687a211
docs: add container disk support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2023-02-15 11:06:52 +01:00
adphi
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
adphi
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
adphi
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
adphi
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
adphi
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
adphi
43f2dd5452
Makefile: install: fix missing go generate
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 12:34:34 +02:00
adphi
72413b0bac
docs: add homebrew install instructions
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 12:05:27 +02:00
adphi
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
adphi
8f1ae3a8a4
chore: remove sparsecat binary from repo
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 11:43:16 +02:00
adphi
a6163db5b8
actions: publish docs only on tag
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 11:23:50 +02:00
adphi
9d2ceb8cba
docs: regenerate cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 11:21:45 +02:00
adphi
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
adphi
7ad6343e6f
goreleaser: add brew support
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 10:50:50 +02:00
adphi
2cd50ff38c
Makefile: fix completions command
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-12 10:13:41 +02:00
adphi
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
adphi
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
adphi
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
adphi
7718c533eb
add pgp public key
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-11 20:02:04 +02:00
adphi
0208a2a134
chore: expose builder interface
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-11 20:01:37 +02:00
adphi
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
adphi
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
adphi
c97388fdae
goreleaser: do not run go generate
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 20:31:16 +02:00
adphi
e5dcf8defb
Makefile: fix build and release
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 20:10:52 +02:00
adphi
badaedc443
goreleaser: enable pre-releases
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:51:56 +02:00
adphi
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
adphi
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
adphi
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
adphi
d7f2c453a9
docs: regenerate cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:36 +02:00
adphi
d9f253d65c
fix windows build
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:35 +02:00
adphi
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
adphi
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
adphi
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
adphi
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
adphi
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
adphi
4763760a1c
docs: improved nav
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:34 +02:00
adphi
941052b33b
docs: fix edit url
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:34 +02:00
adphi
7c12ca465a
setup documentation site build and deploy
2022-09-10 19:41:34 +02:00
adphi
6d8a8d80f5
docs: regenerate docs and sparsecat binary
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:34 +02:00
adphi
e767de2c83
docs: update cli reference
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:33 +02:00
adphi
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
adphi
eb36d45c35
Makefile: fix docker-push
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:33 +02:00
adphi
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
adphi
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
adphi
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
adphi
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
adphi
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
adphi
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
adphi
ecd02424e1
docs: regenerate docs and sparsecat binary
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:32 +02:00
adphi
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
adphi
7ee4e251e8
d2vm/run: hetzner: do not use sparsecat if not on linux
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:31 +02:00
adphi
96026b88ab
add verbose flag, deprecate debug false
...
Dockerfile: add missing ca-certificates
run: hetzner: add token env var
fix examples
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:31 +02:00
adphi
1721146c7d
network-manager: validate flag value
...
Dockerfile: fix ubuntu version to 20.04
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:31 +02:00
adphi
3417f50e11
docs: add minimum versions [skip ci]
...
templates: remove extra line continuation
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:31 +02:00
adphi
bb4c641a02
chore: add missing copyright headers, remove done todos
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:30 +02:00
adphi
46494b54c9
tests: run build tests in parallel
...
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com >
2022-09-10 19:41:30 +02:00