Commit Graph
240 Commits
Author SHA1 Message Date
Yue Zhang 4b69733951 Add register-service option to setup.py 2015-06-29 14:50:37 +08:00
Yue Zhang 7371c9a21e Fix extension and provision status 2015-06-29 14:50:37 +08:00
Yue Zhang ae7697e8d3 Fix init script for centos 2015-06-27 17:49:14 +08:00
Yue Zhang 979e316ed3 Update v2 protocol 2015-06-27 17:48:49 +08:00
Yue Zhang 8ed9073057 Add distro loader 2015-06-24 15:49:09 +08:00
Yue Zhang fd76f1de09 Multiple fixes for CoreOS 2015-06-16 11:29:58 +08:00
Yue Zhang ded43c4244 Multiple fix for centos and suse 2015-06-12 20:28:17 +08:00
Yue Zhang da0d4c0cef Multiple fix for Ubuntu 2015-06-05 15:20:39 +08:00
Yue Zhang 8712c2f65d Update setup.py 2015-06-04 14:38:09 +08:00
Yue Zhang a99c41fa03 Support internal plugin 2015-06-02 12:38:38 +08:00
Yue Zhang 0d73772b9c Use password hash to update user password 2015-05-28 15:15:33 +08:00
Yue Zhang 8ca0c86f66 Port http proxy support from 2.0 2015-05-27 16:49:59 +08:00
Yue Zhang fac857624e Eliminate classic class 2015-05-27 11:32:16 +08:00
Yue Zhang 3ffeb8054e Port page blob support from 2.0 2015-05-26 17:15:08 +08:00
Yue Zhang 34d9e219e7 Port GPT support from 2.0 branch 2015-05-26 15:01:02 +08:00
Yue Zhang a078ceb666 Port event reporting from 2.0 2015-05-26 13:05:24 +08:00
Yue Zhang 621a913d3f Fix unit test for osutil refactoring 2015-05-18 15:06:34 +08:00
Yue Zhang 237c68f4fe Refactor extension and provision handler 2015-05-18 11:06:21 +08:00
Yue Zhang 4d91860b9b Update test for handlers 2015-05-15 16:12:26 +08:00
Yue Zhang 746bbcd76f Fix unittest for osinfo and osutil 2015-05-07 14:50:51 +08:00
Yue Zhang c41dde3072 Rename as azure guest agent 2015-05-05 11:55:20 +08:00
Yue Zhang f4e0e77766 Move wire protocol related logic to WireClient class 2015-04-29 14:09:13 +08:00
Yue Zhang 9eae66564f Rename directory 2015-03-24 14:03:04 +08:00
Yue Zhang bfe3d2e712 Update setup 2014-11-19 13:05:39 +08:00
Yue Zhang 2321b9cd92 Handle 'device already mounted' situation
In ubuntu img, the resource disk is mounted by fstab. In this case, get
the mount point and create README under the root.
2014-07-22 14:07:00 +08: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 f1b8d87c74 Add -t into ssh command to support sudo askpass Changed: ssh_command 2013-09-19 16:31:37 -07:00
Eric Gable 085fe98867 Working without user intervention. 2013-09-18 13:14:40 -07:00
Eric Gable 983f62989c Improvements to update_agent_info. 2013-09-18 13:14:40 -07:00
Eric Gable 1cbc7575b6 Bugfixes, argument changes. 2013-09-18 13:14:40 -07:00
Eric Gable dc613ebe9b Stable vm creation working. test-vm is created from stable vm using key from provisioned user.
TODO
deleted blobs still leftover.
2013-09-18 13:14:40 -07:00
Eric Gable 863b30b5fc unstable - incremental changes to support creation of stable vm. 2013-09-18 13:14:39 -07:00
Eric Gable 4b6391e651 Changes to support un-attended operation.
fsck data disk once if mount throws an error.
--create "once|always|never" - try to control when a new vhd is created - not quite working except for 'always'
--teardown "pass|fail|always" - when to teardown the vm and re-mount the data disk to copy logs
--prompt "no" - prevent 'press enter'

the local logs are now copied to locallog/<testname>_pass|_fail/
2013-09-18 13:14:39 -07:00
Eric Gable c166eb2010 Add 'chroot /mnt/disk groupdel rdUserName' for Linux testing scenario. 2013-09-18 13:14:39 -07:00
Eric Gable df55f3896a Operates for Ubuntu and freeBSD 2013-08-16 14:18:10 -07:00
Eric Gable c943966b3e Initial working commit of azure_test.py 2013-08-16 14:18:10 -07:00
Eric Gable 63bd935016 Support LoggerInit() and new class Logger 2013-06-11 14:27:38 -07:00
Eric Gable d9afbad342 Load waagent from parent directory. 2013-06-11 14:27:38 -07:00
Eric Gable 993d7e28d2 Clone waagent and tests/test_waagent.py from branch future of WALinuxAgent-Private 2013-06-04 15:28:36 -07:00