Skip to content

Commit

Permalink
(fix) Join target instead of live session
Browse files Browse the repository at this point in the history
LP: #2013079
Found during beta testing that the live session is joining, instead of
the target.
  • Loading branch information
CarlosNihelton committed Mar 28, 2023
1 parent aac8eb4 commit cd6e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subiquity/server/ad_joiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def do_join(self, info: AdConnectionInfo, hostname: str, context) \
log.info("Failed to set live session hostname for adcli")
return AdJoinResult.JOIN_ERROR

root_dir = self.app.root
root_dir = self.app.base_model.target
cp = await arun_command([self.realm, "join", "--install", root_dir,
"--user", info.admin_name,
"--computer-name", hostname,
Expand Down

0 comments on commit cd6e691

Please sign in to comment.