From e28298bfe274f4ddd2962d74d01aa20736cc4078 Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Mon, 25 Mar 2024 12:53:55 +0000 Subject: [PATCH] image: populate /etc/project on gimlet --- image/templates/files/project | 6 ++++++ image/templates/gimlet/ramdisk-02-trim.json | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 image/templates/files/project diff --git a/image/templates/files/project b/image/templates/files/project new file mode 100644 index 0000000..1602378 --- /dev/null +++ b/image/templates/files/project @@ -0,0 +1,6 @@ +system:0:::: +user.root:1:::: +noproject:2:::: +default:3:::: +group.staff:10:::: +omicron:100:The Oxide Control Plane::: diff --git a/image/templates/gimlet/ramdisk-02-trim.json b/image/templates/gimlet/ramdisk-02-trim.json index 434d330..da2a645 100644 --- a/image/templates/gimlet/ramdisk-02-trim.json +++ b/image/templates/gimlet/ramdisk-02-trim.json @@ -106,6 +106,10 @@ "file": "/etc/motd", "src": "motd", "owner": "root", "group": "sys", "mode": "0644" }, + { "t": "ensure_file", + "file": "/etc/project", + "src": "project", + "owner": "root", "group": "sys", "mode": "0644" }, { "t": "ensure_file", "file": "/etc/system.d/zfs:dbuf",