2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-25 09:06:24 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
87065d85a9
docs: improved nav
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-06 19:27:43 +02:00
5fa533e9fa
docs: fix edit url
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-06 18:54:52 +02:00
e68140f926
setup documentation site build and deploy 2022-09-06 18:54:48 +02:00
8ca3f4a375
docs: update cli reference
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-06 18:49:30 +02:00
c5bf2e1713
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-06 18:43:24 +02:00
19e3a69be4
Makefile: fix docker-push
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-23 13:21:42 +02:00
e38f27eedf
network-manager: fix ifupdown-ng not available, netplan use mac as dhcp identifier
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-12 17:55:15 +02:00
15e3135bb3
fix: policy-rc.d path typo
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-12 13:44:02 +02:00
6b62dbfb9a
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-08-10 12:00:01 +02:00
e22f5710bd
tests: docs-up-to-date: show diff when failed
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-10 11:42:16 +02:00
f9aebd77d4
actions: move docs test to its own job
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-10 11:35:55 +02:00
3f7b5e2805
d2vm/run: hetzner: convert image to raw if needed
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 20:18:28 +02:00
5049361f2f
Makefile: docs up-to-date test: only check docs directory
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 20:16:04 +02:00
2e27a9f2b2
docs: regenerate docs and sparsecat binary
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 19:13:35 +02:00
5eb7b51590
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-08-09 18:55:54 +02:00
20686be390
d2vm/run: hetzner: do not use sparsecat if not on linux
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 18:30:01 +02:00
dec8c08db0
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-08-09 16:52:12 +02:00
506919cbad
network-manager: validate flag value
Dockerfile: fix ubuntu version to 20.04

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 14:31:51 +02:00
35a50b79f1
docs: add minimum versions [skip ci]
templates: remove extra line continuation

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 14:02:45 +02:00
f1cfbbcd71
chore: add missing copyright headers, remove done todos
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 13:43:02 +02:00
33371daed7
tests: run build tests in parallel
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 13:35:42 +02:00
c25a449e69
convert / build: add networking support through network-manager flag
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-09 13:05:32 +02:00
7ea15f0463
d2vm/run: hetzner: remove server if run is cancelled before beeing created
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-07 18:27:06 +02:00
be1e8cd000
add "append-to-cmdline" option
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-07 18:24:02 +02:00
4ffb202d33
Makefile: build: add missing docker image
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-06 11:19:58 +02:00
b7ebeeae45
d2vm/run: hetzner: use tcp to wait for the server to be ready, do not store server key in UserKnownHostsFile
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-06 10:40:51 +02:00
1ec9d99445
d2vm/run: hetzner expand root partition and file system
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 20:59:13 +02:00
1c6976f769
goreleaser: ignore commits starting with "tests:"
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:11:16 +02:00
51f1354afb
tests: split tests run
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:10:31 +02:00
a99983b8cd
tests: increase timeout
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:10:31 +02:00
8ccd29143a
d2vm/run: add hetzner support
tests: add sysconfig tests for the supported distributions

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:10:15 +02:00
22d9dde884
actions: setup tests and releases
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:10:15 +02:00
51d6753f7e
chore: d2vm/run: cleanup unused code, add source reference
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-05 19:10:00 +02:00
bbf415854f
examples/full: add cloud-init support and cloud-guest-utils
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-04 18:10:03 +02:00
9020cb0579
output defaults to raw
move image using sparsecat
print command in debug mode

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-04 18:10:03 +02:00
bdee0559d4
run: fix flags not applied
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-04 18:10:03 +02:00
89f06e2f18
remove -O option, use output extension instead
add run command to execute vm in qemu or virtualbox

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-04 18:10:02 +02:00
2af13ef626
sysconfig: fix paths for ubuntu versions before 20.04 (fix #3)
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-04 17:06:27 +02:00
Adphi
0d4379946b
Merge pull request #1 from cyrinux/fix/archlinux-mbr-path
fix: add archlinux mbr.bin path
2022-07-21 19:50:04 +02:00
Cyril Levis
e9f3ac9193
fix: add archlinux mbr.bin path 2022-07-20 20:31:36 +02:00
a40b7d3c07
d2vm: fix CentOS install
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-26 14:59:33 +02:00
8538bb0521
Dockefile: remove udevadm missing warning
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-24 16:58:15 +02:00
13d913db38
d2vm: remove kpartx dependency, use parted instead of fdisk
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-24 16:48:21 +02:00
085e57a07a
refactoring: explicit docker commands
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-24 16:27:04 +02:00
20ba409039
d2vm: flatten docker image using github.com/google/go-containerregistry
This allows to preserve files like /etc/hostname or /etc/resolv.conf that will otherwise be overriden by running the container to extract rootfs

wip img entrypoint script

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-24 15:49:01 +02:00
0c9bfb6dd8
README.md: add badges
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-22 13:26:48 +02:00
8c1455b030
doc: add asciinema
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-22 12:35:26 +02:00
690f697ee0
d2vm: smaller ubuntu base images
full example: enable serial auto login

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 22:24:54 +02:00
fa3a4f6039
d2vm: remove non working rhel support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 21:31:57 +02:00
1a97b45861
d2vm: add version command, lookup mbr.bin in well-known paths
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 21:15:39 +02:00