9305ea4b6d
Add systemd/fedora support to growroot element. This involves installing the correct packages, shipping the systemd service file and ensuring it is enabled. Note the required growfs/resize packages for Ubuntu/Debian are installed in other places. This is probably a bug in that path, but I have not addressed that here. I have tested this with a F23 build with all openstack-infra elements, uploaded to RAX, and it boots and resizes the main file-system. Change-Id: I5630dc638f85b1e80795826ef36a306632075460
13 lines
189 B
Desktop File
13 lines
189 B
Desktop File
[Unit]
|
|
Description=Grow root partition
|
|
After=local-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
ExecStart=/usr/local/sbin/growroot
|
|
RemainAfterExit=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|