2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-19 06:26:23 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
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
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
46494b54c9
tests: run build tests in parallel
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:30 +02:00
b09f0e07ad
convert / build: add networking support through network-manager flag
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:30 +02:00
adbd4c7233
d2vm/run: hetzner: remove server if run is cancelled before beeing created
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:30 +02:00
0c24236da9
add "append-to-cmdline" option
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:30 +02:00
92cd70430b
Makefile: build: add missing docker image
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:30 +02:00
dd1b5006cb
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-09-10 19:41:29 +02:00
9f702e5071
d2vm/run: hetzner expand root partition and file system
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:29 +02:00
c7ea09b6a1
goreleaser: ignore commits starting with "tests:"
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:29 +02:00
8b098731d2
tests: split tests run
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:29 +02:00
d2d378ec11
tests: increase timeout
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:29 +02:00
841bf6a7e4
d2vm/run: add hetzner support
tests: add sysconfig tests for the supported distributions

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:28 +02:00
18af3227cc
actions: setup tests and releases
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:28 +02:00
598dec4e32
chore: d2vm/run: cleanup unused code, add source reference
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:28 +02:00
56104bbc0f
examples/full: add cloud-init support and cloud-guest-utils
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:28 +02:00
6c23c42f80
output defaults to raw
move image using sparsecat
print command in debug mode

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:28 +02:00
5ac3ab9292
run: fix flags not applied
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-10 19:41:27 +02:00
62d8a1019d
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-09-10 19:41:27 +02:00
29d953c14d
fix: policy-rc.d path typo
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-12 13:42:55 +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
a21fb68b7b
fix typo (again)
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 19:13:46 +02:00
04bf1810e2
fix typo
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 18:37:33 +02:00
04815d30f9
thanks !
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 18:33:32 +02:00
5b8cad6176
cli: improve flags and commands
docs: add README.md and examples
centos/rhel: fix dracut initramfs

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-21 18:28:50 +02:00
c240aac13d
builder: check dependencies
qemu.sh: fix kvm flag

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-19 14:17:30 +02:00
362c6e1d8c
Makefile: add docker
Alpine example: fix missing openssh-server

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-19 14:07:13 +02:00
c2f6e4ae5d
build and convert implementations
centos: WIP

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-04-19 14:01:08 +02:00