mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +02:00
Turn on node autostart
The reasonable behaviour is for any nodes to be automatically started after the iscsid service is enabled.
This commit is contained in:
parent
5efc0bac4b
commit
8fb48ff69f
@ -50,6 +50,7 @@ src_prepare() {
|
|||||||
epatch "${FILESDIR}"/${P}-remove-kernel-version-check.patch
|
epatch "${FILESDIR}"/${P}-remove-kernel-version-check.patch
|
||||||
|
|
||||||
sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die
|
sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die
|
||||||
|
sed -i -e 's:^node.startup = manual:node.startup = automatic:' etc/iscsid.conf || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user