mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 08:40:42 +00:00
Added chmod a+x for local SSD when disk is created with NODE_LOCAL_SSDS
This commit is contained in:
parent
e81965d456
commit
d3670856dd
@ -183,6 +183,7 @@ function safe-format-and-mount() {
|
|||||||
mkdir -p "${mountpoint}"
|
mkdir -p "${mountpoint}"
|
||||||
echo "Mounting '${device}' at '${mountpoint}'"
|
echo "Mounting '${device}' at '${mountpoint}'"
|
||||||
mount -o discard,defaults "${device}" "${mountpoint}"
|
mount -o discard,defaults "${device}" "${mountpoint}"
|
||||||
|
chmod a+w "${mountpoint}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Gets a devices UUID and bind mounts the device to mount location in
|
# Gets a devices UUID and bind mounts the device to mount location in
|
||||||
|
Loading…
Reference in New Issue
Block a user