mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
Revert "Revert "Build app-emulation/amazon-ssm-agent with EC2 AMI images""
Now that the OEM partition is a btrfs partition with compression, we have enough space to install ssm agent. This reverts commit b6abb59c544be13e923a3e7240b5c9395c281fca. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
0875344378
commit
26767b01aa
@ -7,6 +7,31 @@
|
|||||||
{
|
{
|
||||||
"name": "coreos-metadata-sshkeys@.service",
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "amazon-ssm-agent.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=amazon-ssm-agent\nAfter=network-online.target\n\n[Service]\nType=simple\nWorkingDirectory=/usr/share/oem\nExecStart=/usr/share/oem/amazon-ssm-agent\nKillMode=process\nRestart=on-failure\nRestartForceExitStatus=SIGPIPE\nRestartSec=15min\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/amazon/ssm/amazon-ssm-agent.json",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///ssm/amazon-ssm-agent.json.template"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/amazon/ssm/seelog.xml",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///ssm/seelog.xml.template"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,10 @@ RDEPEND="
|
|||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-emulation/amazon-ssm-agent
|
||||||
|
"
|
||||||
|
|
||||||
# no source directory
|
# no source directory
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user