1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

more fixes to adddbroot from postConfigure

This commit is contained in:
david hill
2016-04-19 10:33:18 -05:00
parent e8fb627b4c
commit 2f952b808b

View File

@ -6201,7 +6201,11 @@ namespace oam
//update /etc/fstab with mount
string entry = amazonDeviceName + " " + InstallDir + "/data" + itoa(*pt1) + " ext2 noatime,nodiratime,noauto 0 0";
//update local fstab
cmd = "echo " + entry + " >> /etc/fstab";
system(cmd.c_str());
//use from addmodule later
cmd = "echo " + entry + " >> " + InstallDir + "/local/etc/pm1/fstab";
system(cmd.c_str());