clan-cli: init vm command #373
No reviewers
Labels
No Label
backups
blog
bootstrapping
bug
changes-requested
cli
documentation
duplicate
enhancement
facts
help wanted
invalid
Inventory
low_prio
manager
modules
needs-review
networking
packaging
question
secrets
template
test
tooling
user-testing
vm
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: clan/clan-core#373
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lassulus-cli-vm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -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',
cat?
@ -0,0 +39,4 @@
disk_img = f"{tmpdir_}/disk.img"
subprocess.run(
[
"qemu-img",
nix_shell
@ -0,0 +52,4 @@
)
subprocess.run(
[
"mkfs.ext4",
nix_shell
what pkg?
@ -0,0 +63,4 @@
subprocess.run(
[
# fmt: off
"qemu-kvm",
nix_shell
@ -0,0 +1,80 @@
import argparse
delete
bc837750dd
tob524404df7
b524404df7
toa5a6b6fdcc
4c0e08c86e
to82e690d8f8
82e690d8f8
to879120126c
879120126c
to69446acd47
69446acd47
to2c88c3020d
2c88c3020d
tof7d9b5816a
f7d9b5816a
to6aac3f3443
6aac3f3443
to08332bff3b
08332bff3b
to6cdf5615fe