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",
|
"group": "0",
|
||||||
|
|
||||||
"mountPoints": [
|
"mountPoints": [
|
||||||
{
|
|
||||||
"name": "baselayout",
|
|
||||||
"path": "/usr/share/baselayout",
|
|
||||||
"readOnly": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cacertificates",
|
|
||||||
"path": "/usr/share/ca-certificates",
|
|
||||||
"readOnly": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "etc",
|
"name": "etc",
|
||||||
"path": "/etc",
|
"path": "/etc",
|
||||||
"readOnly": false
|
"readOnly": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "home",
|
||||||
|
"path": "/home",
|
||||||
|
"readOnly": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "runsystemd",
|
"name": "runsystemd",
|
||||||
"path": "/run/systemd",
|
"path": "/run/systemd",
|
||||||
|
@ -17,9 +17,8 @@ ExecStart=/usr/bin/rkt run \
|
|||||||
--insecure-options=image \
|
--insecure-options=image \
|
||||||
--net=host \
|
--net=host \
|
||||||
--stage1-path=/usr/lib/rkt/stage1-images/stage1-fly.aci \
|
--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=etc,kind=host,source=/etc,readOnly=false \
|
||||||
|
--volume=home,kind=host,source=/home,readOnly=false \
|
||||||
--volume=runsystemd,kind=host,source=/run/systemd,readOnly=false \
|
--volume=runsystemd,kind=host,source=/run/systemd,readOnly=false \
|
||||||
/usr/share/oem/coreos-oem-gce.aci
|
/usr/share/oem/coreos-oem-gce.aci
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user