-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Extensions.Enabled in tests #2892
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,8 @@ sed -i 's/AutoUpdate.Enabled=n/AutoUpdate.Enabled=y/g' "$waagent_conf_path" | |
# By default GAUpdates flag set to True, so that agent go through update logic to look for new agents. | ||
# But in e2e tests this flag needs to be off in test version 9.9.9.9 to stop the agent updates, so that our scenarios run on 9.9.9.9. | ||
sed -i '$a Debug.DownloadNewAgents=n' "$waagent_conf_path" | ||
|
||
# Some distros like debian disable extensions by default, so we need to enable them to verify agent extension scenarios | ||
sed -i 's/Extensions.Enabled=n/Extensions.Enabled=y/g' "$waagent_conf_path" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should log when extensions are initially disabled There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should do this only for Debian and fail setup if extensions are disabled on other distros... that way we have an alarm in our automation in case this happens on other distros |
||
# | ||
# Restart the service | ||
# | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use the script we created to modify waagent.conf