Skip to content

Commit 54fe58b

Browse files
fix: init DOMAIN var during migration
If samba role is DC, DOMAIN is just the lower-case version of REALM. API code should fallback to REALM if DOMAIN is missing, but it's worth initializing it to have a consistent environment.
1 parent ee1b19f commit 54fe58b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imageroot/actions/import-module/50import_configuration

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ for evar in [
2626

2727
agent.set_env('SERVER_ROLE', 'dc')
2828
agent.set_env('NBALIAS', '')
29+
agent.set_env('DOMAIN', ienv['REALM'].lower())

0 commit comments

Comments
 (0)