Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion systemvm/debian/opt/cloud/bin/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def configure_l2tpIpsec(self, left, obj):

secret = CsFile(vpnsecretfilte)
secret.empty()
secret.addeq("%s : PSK \"%s\"" % (left, psk))
secret.addeq(": PSK \"%s\"" % (psk))

@yadvr yadvr Nov 21, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GutoVeronezi LGTM, but should we revert to old ? I don't know what the syntax really means

secret.addeq("%s %%any : PSK \"%s\"" % (left, psk))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update, from #4281 (comment) it seems the user's fix correlates with the syntax used.

secret.commit()

xl2tpdconf = CsFile(xl2tpdconffile)
Expand Down