Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

sosetup -w not writing answer file correctly in some cases #1270

Closed
dougburks opened this issue Jun 26, 2018 · 3 comments
Closed

sosetup -w not writing answer file correctly in some cases #1270

dougburks opened this issue Jun 26, 2018 · 3 comments

Comments

@dougburks
Copy link
Contributor

From Steve Baker:

I've been debugging sosetup a bit with answer files and it looks like sosetup -w writes out SNIFFING_INTERFACES space delimited like this
SNIFFING_INTERFACES=ens19 ens20 ens21
but running sosetup with said answer file fails because it needs comma delimited
when it reads it back in
source "$ANSWERFILE"
       # copy SNIFFING_INTERFACES into INTERFACES
       INTERFACES="$SNIFFING_INTERFACES"
with the space delimted sourcing the answer file actually produces an error right away

line 12: ens20: command not found
from what I can tell this line should be added to sosetup in the section where the answer file is written out
echo "FORWARD=$FORWARD" >> $WRITEANSWERFILE
without FORWARD set sosetup doesn't setup the local port forward in AutoSSH options

and syslog doesn't get to the master
@dougburks
Copy link
Contributor Author

@dougburks
Copy link
Contributor Author

@dougburks
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant