Skip to content

Commit

Permalink
fix: USER_DATA should be USERDATA (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush authored Oct 8, 2024
1 parent cb5c7f2 commit d56f153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions palette-agent-install.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ curl -v -L $URL -o palette-agent
chmod +x palette-agent

# Install with palette-agent
if [ -z "$USER_DATA" ]; then
if [ -z "$USERDATA" ]; then
# Install without user data
./palette-agent install --source $IMAGE
else
# Install with user data
./palette-agent install --source $IMAGE --config "$USER_DATA"
./palette-agent install --source $IMAGE --config "$USERDATA"
fi

0 comments on commit d56f153

Please sign in to comment.