Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Christopher Boumenot 54f59465ee Merge pull request #1106 from credbbl/add-debian-support
Add Debian support
2018-05-10 16:40:54 +00:00
Christopher Boumenot 9f4ddca296 typo in waagent.conf comments (#990) 2018-01-04 16:06:49 -08:00
Christopher Boumenot ae21f5d74d SshHostKeyPairType=auto supported on OpenSSH >=5.9 2017-11-28 13:45:10 -08:00
Brendan Dixon e85d5327a4 [#908] -- Set Files to 0400 in /var/lib/waagent
[#906] -- Hardcoded value for sshd's ClientAliveInterval (180)
[#899] -- Improve HeartBeat Event
[#898] -- Send dummy status if extension fails to write a #.status file

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-17 09:18:46 -07:00
Brendan Dixon e247e7b2f2 Restrict access to Azure fabric services
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-17 13:12:34 -07:00
Brendan Dixon d0b583cc6f [#823] -- Show config options in use
[#784] -- Adjust http retry and logging

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-11 09:37:33 -07:00
Long Li 70c13c381b Read OS.UpdateRdmaDriver from config file
OS.UpdateRdmaDriver is already defined earlier. This value tells WALA if it will do automatic kernel update for Ubuntu.
2017-08-04 22:08:05 +00:00
Reyk Floeter ed5bb3301e Add Provisioning.SshHostKeyPairType=auto to support ssh-keygen -A
The supported values are now "rsa", "dsa", "ecdsa", "ed25519", or
"auto".  "auto" generates all supported host key types in the correct
directory by calling "ssh-keygen -A" (supported since OpenSSH 5.9 in
2011).  The code uses RSA for the thumbprint because only a single one
is supported by the agent and the Azure protocol.
2017-06-23 15:54:04 +02:00
Tamir Zegman 2d06040bc1 GAiA OS: Fix SSH public key handling (#750)
* Turn off verbose logging on GAiA

* GAiA OS: Handle SSH public keys
2017-06-07 11:39:38 -07:00
Reyk Floeter aad62676a7 Add initial support for the OpenBSD operating system (#712)
* Add initial support for the OpenBSD operating system

There are some differences between FreeBSD, OpenBSD, and Linux.

Notes:

- OpenBSD ships LibreSSL, but WALinuxAgent needs OpenSSL for CMS, so
use the openssl port and the "eopenssl" binary instead.

- Don't run the custom DHCP client but parse /var/db/dhclient.leases.hvn0.
OpenBSD's lease file uses a modified syntax.

- OpenBSD does not have /proc.  WALinuxAgent should never assume that
the /proc filesystem is available.

- OpenBSD does not have sudo, but its replacement doas.  The OpenBSD
class implements support for modifying the doas.conf file.

- Unlike FreeBSD, OpenBSD supports and mounts UDF DVDs just fine.

- Create a swap partition instead of a swap file on the resource disk.

- Many other minor changes for OpenBSD

TODO:

- The /proc checks needs to be replaced with pgrep/ps etc. checks for
OpenBSD.  For now it just checks if /proc is available or returns
without error.
Make sure to install waagent with --register-service as setuptools
will not set the permissions of /etc/rc.d/waagent correctly (the file
has to be executable to be used by OpenBSD's rc system).

* Remove debug statement that was use to fix mount_dvd on OpenBSD.

* I accidentally replaced the FreeBSD resource disk handler.

The OpenBSD disk handler is an addition, not a replacement.

Found by jonathangray

* pylint

pylint found one bug in setting the password; other changes are just
for the style.

* strip newline from generated password hash.

Issue reported by Lili Deng.

* Keep AutoUpdate enabled, it was disabled for initial porting.

Pointed out by @hglkrijger

* Use a wildcard and delete all DHCP lease files on *BSD.

Requested by @hglkrijger
2017-05-30 15:27:22 -07:00
zegman ed8f449798 Add Check Point GAiA OS support 2017-05-17 16:28:59 +03:00
brendandixon 5c90636dd8 Added Provisioning telemetry duration (#702)
Correctly handle cleaning directories that include symlinks
Reduced polling interval #701
Enable selective agent testing
Improved FIPS configuration variable name
Reduced cloud-init files removed on deprovision #631

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-08 16:27:56 -07:00
Brendan Dixon cbc2f4f366 Addressed issues #687, #604, and #531
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-02 13:28:19 -07:00
Brendan Dixon 66305f0bea Enabled FIPS support
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-01 14:44:22 -07:00
enihcam ab90f075d1 Add Arch distro support (#670)
* Add Arch distro support

* Added archDistro in waagent2.0

* Added missing dependency for archDistro

* Revert "Added missing dependency for archDistro"

This reverts commit 259cc020c4.

* Revert "Added archDistro in waagent2.0"

This reverts commit dc51cdfcb3.

* Enable waagent AutoUpdate for archlinux.
2017-04-18 12:02:01 -07:00
Paul Meyer 882195720b Data disks udev rule (#624)
* Add data disks in udev rules

* identify scsi controllers
2017-03-31 11:18:51 -07:00
Yoon Hong 6640786c07 Turn off Overprovisioning feature (#490) (#500) 2016-12-06 11:44:53 -08:00
brendandixon cb25253ade Merge pull request #499 from caphrim007/feature.add-bigip-waagent-conf
Adds waagent config for bigip
2016-12-05 09:35:32 -08:00
Yoon Hong 314c2c17aa Turn off Overprovisioning feature (#490) (#491) 2016-12-01 18:05:42 -08:00
Tim Rupp d561fdf8de Adds waagent config for bigip
Includes minor tweaks for waagent code to ensure that it works
as expected on bigip platforms.
2016-11-30 16:20:20 -08:00
brendandixon 958ad6ef89 Merge pull request #432 from bear454/cleanup-suse-config
Cleanup SUSE config
2016-11-09 12:09:29 -08:00
William Douglas d4a3226142 Add Clear Linux distro support 2016-10-26 21:12:05 +00:00
James Mason a784ee1df3
SUSE config: add options from e875ac86 2016-09-15 17:47:03 -07:00
James Mason f9ba601c20
SUSE config: use EXT4 for ResourceDisk format (BSC#997475_ 2016-09-15 17:45:38 -07:00
Steven Luther 8b53e8e4b8 Mount Options feature (#346)
* add testing for mountpoint, some refactoring

* fixed double space in mount string

* patch for ConfigProvider

* revert patch to original string.

* update documentation, add 'n' option for mountopts

* remove test argument

* More descriptive description in README, n to None

* minor var name changes for clarity

* spacing, missing self in get_mount_string

* mount_opts to mount_options

* add config option to writtet WaagentConf, minor style changes.

* mount options fix, is not Note

* add self to get_mount_string args

* self to function, not where it's called

* mount_options = output of function, not the function.

* get_mount_string returns with mount options/if not none

* forgot to remove part of the string

* instantiate resource disk handler, get_switch to get in conf.py

* Added config option to waagent.conf

* minor style fixes

* mountOpts is None change, and also added removed variable.

* revert changes to bin/waagent2.0

* reverted waagent2.0 to e8c641f

* config options added
2016-08-26 14:04:20 -07:00
Hans Krijger db1ff2f370 update configuration files for #369 (#372) 2016-08-18 10:37:23 -07:00
Nathan LeClaire 774acbc095 Add Alpine Linux support (#301)
* Add Alpine Linux support

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>

* Update for code review feedback

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-07-20 11:24:59 -07:00
Hans Krijger 29fb42a8f8 Merge master into develop (#333)
* Update agent config for CoreOS (#221)

* Fix the debian packaging (#292)
2016-07-15 15:06:12 -07:00
Hans Krijger c3a40ce807 add defaults for self-update to config file (#324) 2016-07-14 14:19:24 -07:00
Ahmet Alp Balkan 53a6c3299b Add RDMA config key to per-distro config files (#277) 2016-06-28 15:48:50 -07:00
Thomas Shao c1cfaa882c Merge pull request #156 from szarkos/2.1
Add udev rules to the 2.1 branch
2016-04-12 07:40:40 +08:00
Stephen A. Zarkos 78d0831b0d Add udev rules to the 2.1 branch
- 99-azure-product-uuid sets permissions on product_uuid from SMBIOS
file in sysfs
- 66-azure-storage help identify the OS and ephemeral disks on Azure
2016-03-01 12:12:45 -08:00
Dong Liu 78d9a9d7b1 Fix sudo for FreeBSD. 2016-02-23 09:58:56 +08:00
Dong Liu f8d57f8d6b Support dhcp, user admin for FreeBSD. 2016-01-26 13:21:46 +08:00
Dong Liu b65718d59d Add Resource Disk handler for FreeBSD. 2016-01-20 11:00:59 +08:00
Yue Zhang ece9708847 Allow overwritting existing user and add decoding customdata 2016-01-14 23:53:08 +08:00
Yue Zhang e875ac866f Remove globle variables 2016-01-08 12:19:35 +08:00
Yue Zhang 82fde85f17 Update systemd unit file and waagent.conf for Ubuntu15.10 2015-11-19 00:55:04 +08:00
Yue Zhang 27270823f2 Rename Windows Azure to Microsoft Azure 2015-10-23 14:55:05 +08:00
Yue Zhang 5c28a059ee Update config for crypt and password hash 2015-09-06 14:32:07 +08:00
Yue Zhang 9f299a419f Improve log and cleanup code 2015-06-30 16:24:24 +08:00
Yue Zhang 8ed9073057 Add distro loader 2015-06-24 15:49:09 +08:00
Yue Zhang f077df51ed Update setup.py 2015-06-16 15:00:24 +08:00
Yue Zhang 8ca0c86f66 Port http proxy support from 2.0 2015-05-27 16:49:59 +08:00
Yue Zhang 5d5f3485be Add support for other distro for setup.py 2014-11-24 10:21:35 +08:00
Yue Zhang 9d7dd18b48 Fix issues with provision and deprovsion on Ubuntu 2014-11-19 14:49:22 +08:00
Yue Zhang bfe3d2e712 Update setup 2014-11-19 13:05:39 +08:00
Stephen Zarkos 593c485c5b Minor doc cleanup 2014-02-14 13:41:55 -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 014a4f8d27 Remove reference to Shutdown in Role.StateConsumer. 2013-11-21 16:24:43 -08:00