mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
Merge pull request #2251 from dm0-/gce
Allow the GCE agent to create home directories
This commit is contained in:
commit
f336d78ce8
@ -13,21 +13,16 @@
|
||||
"group": "0",
|
||||
|
||||
"mountPoints": [
|
||||
{
|
||||
"name": "baselayout",
|
||||
"path": "/usr/share/baselayout",
|
||||
"readOnly": true
|
||||
},
|
||||
{
|
||||
"name": "cacertificates",
|
||||
"path": "/usr/share/ca-certificates",
|
||||
"readOnly": true
|
||||
},
|
||||
{
|
||||
"name": "etc",
|
||||
"path": "/etc",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"name": "home",
|
||||
"path": "/home",
|
||||
"readOnly": false
|
||||
},
|
||||
{
|
||||
"name": "runsystemd",
|
||||
"path": "/run/systemd",
|
||||
|
@ -17,9 +17,8 @@ ExecStart=/usr/bin/rkt run \
|
||||
--insecure-options=image \
|
||||
--net=host \
|
||||
--stage1-path=/usr/lib/rkt/stage1-images/stage1-fly.aci \
|
||||
--volume=baselayout,kind=host,source=/usr/share/baselayout,readOnly=true \
|
||||
--volume=cacertificates,kind=host,source=/usr/share/ca-certificates,readOnly=true \
|
||||
--volume=etc,kind=host,source=/etc,readOnly=false \
|
||||
--volume=home,kind=host,source=/home,readOnly=false \
|
||||
--volume=runsystemd,kind=host,source=/run/systemd,readOnly=false \
|
||||
/usr/share/oem/coreos-oem-gce.aci
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user