You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
Could you please add a description to set LANG=C as a workaround into README.md. For example, node-quota.sh reports a sed error with Japanese locale.
With Japanese locale,
FS=
df /var/lib | grep -v Filesystem | awk '{print $6}'sed -i "s|^\S_\s+${FS}\s+\S_\s+|&usrquota,|" /etc/fstab
sed: -e expression #1, char 28: `s' コマンドが終了していません -- Command didn't finish.
echo $FS
マウント位置 /
With LANG=C,
FS=
df /var/lib | grep -v Filesystem | awk '{print $6}'sed -i "s|^\S_\s+${FS}\s+\S_\s+|&usrquota,|" /etc/fstab
echo $FS
/
--- node-quota.sh.old 2013-07-04 23:40:03.519953525 +0900
+++ node-quota.sh 2013-07-04 23:43:23.892426343 +0900
@@ -12,7 +12,7 @@
#read tempkey
#vi /etc/fstab
/bin/cp -f /etc/fstab /etc/fstab.save.openshift
-FS=
df /var/lib | grep -v Filesystem | awk '{print $6}'+FS=
LANG=C;df /var/lib | grep -v Filesystem | awk '{print $6}'sed -i "s|^\S_\s+${FS}\s+\S_\s+|&usrquota,|" /etc/fstab
reboot or remount