clan-cli: init vm command #373

Merged
clan-bot merged 5 commits from lassulus-cli-vm into main 2023-09-29 18:30:17 +00:00
Owner
No description provided.
Mic92 reviewed 2023-09-28 16:38:05 +00:00
@ -0,0 +78,4 @@
"-device", "usb-tablet,bus=usb-bus.0",
"-kernel", f'{vm_config["toplevel"]}/kernel',
"-initrd", vm_config["initrd"],
"-append", f'$(cat {vm_config["toplevel"]}/kernel-params) init={vm_config["toplevel"]}/init regInfo={vm_config["regInfo"]}/registration console=ttyS0,115200n8 console=tty0',
Owner

cat?

cat?
lassulus marked this conversation as resolved
Mic92 requested changes 2023-09-28 16:43:11 +00:00
@ -0,0 +39,4 @@
disk_img = f"{tmpdir_}/disk.img"
subprocess.run(
[
"qemu-img",
Owner

nix_shell

nix_shell
lassulus marked this conversation as resolved
@ -0,0 +52,4 @@
)
subprocess.run(
[
"mkfs.ext4",
Owner

nix_shell

nix_shell
Author
Owner

what pkg?

what pkg?
lassulus marked this conversation as resolved
@ -0,0 +63,4 @@
subprocess.run(
[
# fmt: off
"qemu-kvm",
Owner

nix_shell

nix_shell
lassulus marked this conversation as resolved
Mic92 reviewed 2023-09-28 16:43:31 +00:00
@ -0,0 +1,80 @@
import argparse
Owner

delete

delete
lassulus marked this conversation as resolved
lassulus force-pushed lassulus-cli-vm from bc837750dd to b524404df7 2023-09-28 16:49:34 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from b524404df7 to a5a6b6fdcc 2023-09-28 16:56:18 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 4c0e08c86e to 82e690d8f8 2023-09-29 10:08:00 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 82e690d8f8 to 879120126c 2023-09-29 12:10:18 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 879120126c to 69446acd47 2023-09-29 16:31:16 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 69446acd47 to 2c88c3020d 2023-09-29 16:31:51 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 2c88c3020d to f7d9b5816a 2023-09-29 17:18:39 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from f7d9b5816a to 6aac3f3443 2023-09-29 17:39:53 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 6aac3f3443 to 08332bff3b 2023-09-29 17:45:10 +00:00 Compare
lassulus force-pushed lassulus-cli-vm from 08332bff3b to 6cdf5615fe 2023-09-29 18:06:00 +00:00 Compare
clan-bot was assigned by lassulus 2023-09-29 18:30:14 +00:00
clan-bot merged commit a6698c8301 into main 2023-09-29 18:30:17 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: clan/clan-core#373
No description provided.