Commit Graph
16 Commits
Author SHA1 Message Date
Hans Krijger fc2451fbae Fix Ubuntu factory issues (#983)
* fix ubuntu class hierarchy

* fix factory class
2018-01-02 23:18:28 -08:00
Christopher Boumenot c7498ababd No more ifup/ifdown on Ubuntu >=17.10 (#969) 2018-01-02 15:03:27 -08:00
Robert Nesius d544709779 trailing whitespace... sigh 2017-07-08 01:06:33 +00:00
Robert Nesius 5a9f0b502a Accommodate new Clear Linux distro string in os-release. 2017-07-07 00:43:55 +00: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
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 259cc020c42ec575dbe11c3057002d03e90353a4.

* Revert "Added archDistro in waagent2.0"

This reverts commit dc51cdfcb392b3958e0bcb60b3144226f07d3723.

* Enable waagent AutoUpdate for archlinux.
2017-04-18 12:02:01 -07:00
hufengwei 66c5628751 Add support for EulerOS (#614) 2017-03-31 11:18:14 -07:00
Hans Krijger 2950edb430 CoreOS fix (#567)
* reformat

* cleanup; add distro_code_name to os factory
2017-01-20 16:43:03 -08:00
Tim Rupp 94a0b4948b Adds BIG-IP integration to WAAgent
This patch includes the implementation portion of BIG-IP integration
with WAAgent.
2016-11-29 13:16:05 -08:00
William Douglas d4a3226142 Add Clear Linux distro support 2016-10-26 21:12:05 +00:00
drivelbyday 638dd039ae Update factory.py (#408) 2016-09-08 13:28:14 -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
Yue Zhang da9ebe0a3d Separate provision agent and guest agent
Ensured correct return
Temporarily disable autoupdate

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-01 15:27:32 -07:00
brendandixon e55d8dee0e Revert "Separate provision agent and guest agent" 2016-05-31 11:24:23 -07:00
Yue Zhang efff9d6e0e Separate provision agent and guest agent 2016-05-31 11:15:10 -07:00