Commit Graph
1125 Commits
Author SHA1 Message Date
Stephen A. Zarkos 3de8edf3f3 WALinuxAgent-2.0.3-PRE 2013-12-19 16:14:58 -08:00
Stephen A. Zarkos 44d44ebf67 Revert "debianDistro - Only add 'send-hostname' to dhclient.conf if not already enabled."
This reverts commit f5365bec4e.
2013-12-19 16:13:55 -08:00
Eric Gable f5365bec4e debianDistro - Only add 'send-hostname' to dhclient.conf if not already enabled.
Changed:
debianDistro.publishHostname()
2013-12-19 15:43:02 -08:00
Eric Gable e47ea21c5a Use raw_input() instead of input() in Deprovision with prompt.
Changed:
Deprovision()
2013-12-19 14:44:10 -08:00
Stephen Zarkos edc35f3fb3 WALinuxAgent 2.0.2 WALinuxAgent-2.0.2 2013-12-18 15:10:04 -08:00
Stephen Zarkos 24ae488113 Update Changelog and RPM spec for 2.0.2 2013-12-18 15:09:09 -08:00
Eric Gable 3ae02591e5 Merge branch '2.0' of https://github.com/WindowsAzure/WALinuxAgent into 2.0 2013-12-16 13:30:57 -08:00
Eric Gable 6d94b41236 Fix Hostname/EnvMonitor. Add call of UpdateAndPublishHostName to installAgentServiceScriptFiles. Remove loops containing GetInterfaceName() which now returns a single string identifying the first active non-LO interface.
installAgentServiceScriptFiles()
UpdateAndPublishHostName()
2013-12-16 10:26:32 -08:00
Stephen Zarkos b9ff64d194 Update Changelog 2013-12-13 13:38:25 -08:00
Eric Gable f872d517f3 Revert and use Suse systemV for Suse Only! 2013-12-11 15:33:04 -08:00
Eric Gable 15a508e765 Replace waagent embedded systemV init scripts with new version from distros/suse/waagent.systemV
Changed:

AbstractDistro()
SuSEDistro()
redhatDistro()
centosDistro()
2013-12-11 14:26:02 -08:00
Eric Gable da1bf7a8f0 Specialize file mode of /etc/shadow.
Added:

AbstractDistro.shadow_file_mode=0600
debianDistro.shadow_file_mode=0644
2013-12-06 15:42:11 -08:00
Eric Gable 33fbf4d6f6 publishHostname should use self.hostname_file_path instead of 'etc/hostname'.
Changed:
AbstractDistro.publishHostname()
2013-12-06 13:35:00 -08:00
Stephen Zarkos dc0ac49e60 Fix - 'Root password deleted message' not logged
"

Indentation error causes "Root password deleted" message to only be
logged if self.isSelinuxSystem() returns true.
2013-12-04 15:17:52 -08:00
Stephen Zarkos c5cde37c8a Small fix to README 2013-11-26 12:05:03 -08:00
Eric Gable c9bc5655a5 Merge branch '2.0_expected_state' of https://github.com/WindowsAzure/WALinuxAgent into 2.0_expected_state 2013-11-25 14:27:22 -08:00
Eric Gable 7c64da3f26 Remove comment relating to expected state shutdown in GoalState. 2013-11-25 14:15:38 -08:00
Stephen Zarkos 5d9e184310 Update Changelog 2013-11-22 11:09:11 -08:00
Stephen Zarkos 549df4eb0d Remove remaining references to "Shutdown"
Remove remaining references to "Shutdown" in Role.Stateconsumer and
documentation.  This feature is an artifact from pre-GA behavior.
2013-11-22 11:07:16 -08:00
Eric Gable fb1dcb8b67 Remove reference to Shutdown in Role.StateConsumer. Remove code processing GoalState.ExpectedState 'Stopped' and code that sends 'Shutdown' to StateConsumer script.
Changed:
embedded waagent.conf
Agent.Run()
2013-11-21 16:27:33 -08:00
Eric Gable 014a4f8d27 Remove reference to Shutdown in Role.StateConsumer. 2013-11-21 16:24:43 -08:00
Eric Gable 698be4326d Remove reference to Shutdown in Role.StateConsumer. 2013-11-21 16:23:09 -08:00
Stephen A. Zarkos 7e94cdee05 Update changelog 2013-11-19 11:26:28 -08:00
Stephen A. Zarkos 1e63fe7120 Disable swap setup by default
This reverts the WALA 2.x to WALA 1.x behavior of not configuring swap
space on the resource disk by default.
2013-11-19 11:23:07 -08:00
Stephen Zarkos 656cf7b5cc follow up
cosmetic fixes
- enclose vars in {} for protection
- replace python with the defined variable
- executable paths not as strings
2013-11-11 13:09:09 -08:00
Stephen Zarkos 7f3c6d72a1 Changelog 2013-11-08 17:30:23 -08:00
Stephen Zarkos 0b668247a0 WALinuxAgent 2.0.2-PRE 2013-11-08 17:29:21 -08:00
Stephen Zarkos 29bcbddf53 Fixup suse\waagent.sysV
- Fixed missing semicolons
- Fix stop, killproc could not find $WAZD_BIN
- Fix status, checkproc needs to see python, add -v to rc_status
2013-11-08 17:25:34 -08:00
Eric Gable 75ba10e21e Remove 'verbose' from bsd_init_file. 2013-11-08 11:19:02 -08:00
Eric Gable 471a595053 Make logging non verbose by default 2013-11-08 10:52:14 -08:00
Stephen Zarkos 3b8589e652 WALinuxAgent 2.0.1 WALinuxAgent-2.0.1 2013-11-05 14:58:01 -08:00
Stephen Zarkos a357960634 Update Changelog for 2.0.1 2013-11-05 14:38:47 -08:00
Eric Gable 649251f7a7 Add leading newline to ClientAliveInterval in case the sshd_config file is missing newline at the end.
Changed:
FreeBSDDistro.Install()
Install()
2013-11-04 18:38:31 -08:00
Eric Gable b05552d8e3 Change CustomData.bin to CustomData. Prevent error in log when <CustomData> not present
Changed:
OvfXml.Parse()
2013-11-04 18:37:29 -08:00
Eric Gable 84faae5942 Merge branch 'CustomData' into 2.0 2013-10-30 17:56:29 -07:00
Stephen Zarkos caa4e595c4 Update Changelog 2013-10-30 12:46:59 -07:00
Eric Gable 60c54d15c7 Set self.service_cmd='/sbin/service' for centosDistro and redhatDistro.
Changed:
centosDistro.__init__
redhatDistro.__init__
2013-10-25 16:28:10 -07:00
Eric Gable 4f44a9572c Ensure correct unicode encoding is used for ovf.xml.
Better detection and removal of BOM.

Changed:
Agent.Provision
2013-10-24 15:22:35 -07:00
Eric Gable 037644e82e Modified GetMyDistro() to accept optional specification of distro name for test support.
Added self.service_cmd to AbstractDistro

Changed:
GetMyDistro()
AbstractDistro.startAgentService()
AbstractDistro.stopAgentService()
AbstractDistro.restartSshService()
SuSEDistro.service_cmd
FreeBSDDistro.restartSshService()
2013-10-24 15:21:03 -07:00
Eric Gable 2b3c38b850 Add exception handling for external consumer scripts.
Add exception handling for xxxLinuxKernelCmdline and xxxStringInFile.

Changed :

FindStringInFile
ReplaceStringInFile
FindInLinuxKernelCmdline
AppendToLinuxKernelCmdline
RemoveFromLinuxKernelCmdline
ApplyVNUMAWorkaround
RevertVNUMAWorkaround
SharedConfig.Parse
HostingEnvironmentConfig.Process
Agent.Run
2013-10-24 15:17:57 -07:00
Eric Gable 9b482b1e0a Add CustomData Feature. Reads <CustomData> from ovf-env.xml and saves it into LibDir/CustomData.bin
Changed:
OvfEnv.reinitialize
OvfEnv.Parse
2013-10-24 15:00:49 -07:00
Stephen Zarkos f50b751df5 Update changelog 2013-10-11 14:57:34 -07:00
Eric Gable 46398fe817 Fix missing self in AbstractDistro.DeletAccount()
Changed:
AbstractDistro.DeletAccount()
2013-10-07 15:54:49 -07:00
Eric Gable 35beadddf7 Move call to LoggerInit to after argument processing. 2013-09-27 16:01:00 -07:00
Eric Gable ce87254d83 Respect keep_vhd.
Use SUDO_ASKPASS for all sudo operations.
Added uptime loop at the start of ssh communication to ensure host is ready.
Uninstall deb and rpm packaging.
Set Verbose=y in waagent.conf.
Encode ssh output as ascii,ignore to prevent latin-1 charachters from throwing error in Log().
Delete all blobs, keeping only the test-vm blob if keep_vhd = 'no'.
Added --logfile to specify logfile.
Reboot stable vm to prevent stale mount bugs.
2013-09-27 15:31:12 -07:00
Eric Gable b55d687dbb Update version string to 2.0.1-PRE 2013-09-26 11:21:53 -07:00
Eric Gable edcf0f2785 Add WALinuxAgent 2.0.1-PRE to Changelog 2013-09-26 11:18:31 -07:00
Eric Gable 5a78473368 Save/Restore sellinux state.
Changed:

AbstractDistro.isSelinuxRunning()
OvfEnf.Process()
2013-09-25 20:38:40 -07:00
Stephen Zarkos 93ddc0fb1c Re-upped release WALinuxAgent-2.0.0 2013-09-20 15:58:10 -07:00
Stephen Zarkos e7ddc7f12b Minor edits 2013-09-20 15:30:33 -07:00