2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-03-20 02:17:52 +00:00

Remove sticky bit from profile directory

This commit is contained in:
Jarrod Johnson 2021-07-21 12:16:22 -04:00
parent fa45ea8ad3
commit 4ddfa192ba

View File

@ -173,7 +173,7 @@ def capture_remote(opts, args):
with open(os.path.join(outdir, 'profile.yaml'), 'w') as profileout:
profileout.write('label: {}\n'.format(label))
profileout.write('kernelargs: quiet installtodisk # remove installtodisk to boot stateless')
subprocess.check_call(['chmod', 'o+r,go-w', '-R', outdir])
subprocess.check_call(['chmod', 'o+r,go-w,a-t', '-R', outdir])
subprocess.check_call(['chown', '-R', 'confluent', outdir])
subprocess.check_call(['osdeploy', 'updateboot', profname])