From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:dilfridge/qcow2 commit in: catalyst/targets/
Date: Sun, 6 Oct 2024 16:51:31 +0000 (UTC) [thread overview]
Message-ID: <1728233472.c6e8d0fd2e3dde5633e55728fa2fc27b096c8cbf.dilfridge@gentoo> (raw)
commit: c6e8d0fd2e3dde5633e55728fa2fc27b096c8cbf
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 16:51:12 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 16:51:12 2024 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=c6e8d0fd
Fix config names etc
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
catalyst/targets/diskimage_stage2.py | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/catalyst/targets/diskimage_stage2.py b/catalyst/targets/diskimage_stage2.py
index 2036811b..7bd92bcb 100644
--- a/catalyst/targets/diskimage_stage2.py
+++ b/catalyst/targets/diskimage_stage2.py
@@ -17,22 +17,22 @@ class diskimage_stage2(StageBase):
])
valid_values = required_values | frozenset([
"diskimage/bootargs",
- "diskimage/fstar",
"diskimage/depclean",
"diskimage/empty",
"diskimage/fsops",
"diskimage/fsscript",
- "diskimage/fstype",
"diskimage/gk_mainargs",
- "diskimage/image",
- "diskimage/imageformat",
"diskimage/modblacklist",
"diskimage/motd",
+ "diskimage/qcow2",
+ "diskimage/qcow2_size",
+ "diskimage/qcow2_efisize",
+ "diskimage/qcow2_roottype",
"diskimage/rcadd",
"diskimage/rcdel",
"diskimage/readme",
"diskimage/rm",
- "diskimage/type",
+ "diskimage/type", # generic, cloud-init, ssh, console
"diskimage/unmerge",
"diskimage/users",
"diskimage/verify",
@@ -40,12 +40,22 @@ class diskimage_stage2(StageBase):
"repos",
])
+# Types of bootable disk images planned for (diskimage/type):
+# cloud-init - an image that starts cloud-init for configuration and then can be
+# used out of the box
+# console - an image that has an empty root password and allows passwordless
+# login on the console only
+# ssh - an image that populates /root/.ssh/authorized_keys and starts dhcp
+# as well as sshd; obviously not fit for public distribution
+# generic - an image with no means of logging in... needs postprocessing
+# no services are started
+
def __init__(self, spec, addlargs):
StageBase.__init__(self, spec, addlargs)
if "diskimage/type" not in self.settings:
- self.settings["diskimage/type"] = "generic-diskimage"
+ self.settings["diskimage/type"] = "generic"
- file_locate(self.settings, ["fstar", "controller_file"])
+ file_locate(self.settings, ["controller_file"])
def set_spec_prefix(self):
self.settings["spec_prefix"] = "diskimage"
next reply other threads:[~2024-10-06 16:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-06 16:51 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-12 15:14 [gentoo-commits] proj/catalyst:dilfridge/qcow2 commit in: catalyst/targets/ Andreas K. Hüttel
2024-10-12 11:08 Andreas K. Hüttel
2024-10-05 21:41 Andreas K. Hüttel
2024-10-05 21:24 Andreas K. Hüttel
2024-09-27 22:48 Andreas K. Hüttel
2024-08-09 19:34 Andreas K. Hüttel
2024-08-03 11:01 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-08-03 9:06 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 15:29 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 15:28 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 14:54 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 14:45 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 11:06 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
2024-07-30 11:06 [gentoo-commits] proj/catalyst:master " Andreas K. Hüttel
2024-08-09 19:34 ` [gentoo-commits] proj/catalyst:dilfridge/qcow2 " Andreas K. Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1728233472.c6e8d0fd2e3dde5633e55728fa2fc27b096c8cbf.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox