diff options
| author | Nate House <nathan.house@rackspace.com> | 2014-02-12 16:59:20 -0500 |
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2014-02-12 16:59:20 -0500 |
| commit | f7ac086a434b511b076346839818de7cf34e18a2 (patch) | |
| tree | 12fe7fee7d796964ab93d73b16d42e2157c0491d /cloudinit/distros/__init__.py | |
| parent | 5d2a31bd66fc5fc10901e30a2b9c79c7f4d1a172 (diff) | |
| parent | 0b0bb4721c61015e3fce9b4030bcb69b9da5c368 (diff) | |
| download | vyos-cloud-init-f7ac086a434b511b076346839818de7cf34e18a2.tar.gz vyos-cloud-init-f7ac086a434b511b076346839818de7cf34e18a2.zip | |
initial Gentoo and Arch linux support
Diffstat (limited to 'cloudinit/distros/__init__.py')
| -rw-r--r-- | cloudinit/distros/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 46b67fa3..55d6bcbc 100644 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -39,8 +39,10 @@ from cloudinit.distros.parsers import hosts OSFAMILIES = { 'debian': ['debian', 'ubuntu'], 'redhat': ['fedora', 'rhel'], + 'gentoo': ['gentoo'], 'freebsd': ['freebsd'], - 'suse': ['sles'] + 'suse': ['sles'], + 'arch': ['arch'], } LOG = logging.getLogger(__name__) @@ -53,6 +55,7 @@ class Distro(object): ci_sudoers_fn = "/etc/sudoers.d/90-cloud-init-users" hostname_conf_fn = "/etc/hostname" tz_zone_dir = "/usr/share/zoneinfo" + init_cmd = ['service'] # systemctl, service etc def __init__(self, name, cfg, paths): self._paths = paths |
