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:
parent
fa45ea8ad3
commit
4ddfa192ba
@ -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])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user