diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index abeb3e36..5273e2c5 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -1323,7 +1323,7 @@ async def generate_stock_profiles(defprofile, distpath, targpath, osname, os.symlink(distpath, '{0}/distribution'.format(dirname)) await util.check_call( 'sh', '{0}/initprofile.sh'.format(dirname), - targpath, dirname) + targpath, dirname, preexec_fn=relax_umask) bootupdates.append(tasks.spawn_task(update_boot(dirname, True))) profilelist.append(profname) for upd in bootupdates: