Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/vyos/vyos-cloud-init
https://github.com/vyos/vyos-cloud-init
we map 'hostname' to 'local-hostname'
so that the modules work correctly with
the cfgdrive style ...
cloud-init-local mode is attempted as
a hard requirement (instead of the
previous soft requirem...
a9939fe768e04d52fe530c7467357d79b78a21f4 authored over 12 years ago
8a8f6095586c6c6d49df09e09f513b2408714282 authored over 12 years ago
0e7ce376fdb84345c97f936f5ccb1fee964a4c03 authored over 12 years ago
1567b1bc3b2948aa80e0b150d34542e2ff02428f authored over 12 years ago
df00a64c662a916fab18602a294a0443545a1990 authored over 12 years ago
This fixes (tested) bug 978127. The server was actually returning a 401
not a 403. As such, th...
and is not a part of a comment or other
part of the line.
Rework the rest of the locations that used the previous 'user' and make
those locations go throu...
a28d7fe46cf8e3277a13c35c5dd0185f65ab1d0c authored over 12 years ago
a little more relevant.
9a252b3a41ad757587cba729b31079c04b253faa authored over 12 years ago9e7320df7a6fb6f1e9a5401735c471467b1fe365 authored over 12 years ago
file is being added actually exists before it
is written into and ensure that the directory
is in...
72fc1f762e5c5df563380e9ed90bfaba131e811b authored over 12 years ago
located and warn when it is not found + only
run the shell command when actual contents
exist to ...
imported without being renamed due to
previous usage of the attribute 'distros'
d285a0463b6d16487eb5859373ccfd27eaec8b90 authored over 12 years ago
the previous 'user' and make those locations
go through the new distros functions to select
the d...
f1e3ae3c49b9424a7e3cdbf835651720cc60e143 authored over 12 years ago
In 0.7.0 we started using yaml.safe_load to load data rather than
yaml.load. Some producers (na...
92cbc3ae78b560cd6e81f2894d743b72b744eee1 authored over 12 years ago
before we start iterating over it (it could
be sent is as none).
332ef83d77853714b88358de301bda30e82aaf62 authored over 12 years ago
Packages on debian/ubuntu should start on installation. As a result, if we
want to get config c...
The primary utility here is normalize_user_groups, which would
be called by config modules to ge...
68114a57d776585865056ad5fb71d41bb741cd06 authored over 12 years ago
179f48250952501c8ad36ac0ed6389159a25bf82 authored over 12 years ago
b541f738616349a028c5e54754ea83e439d82734 authored over 12 years ago
4a5d5a044db9e77b931fb4df93f7c01b02021f44 authored over 12 years ago
functions so that they can be 'retargeted' to a temporary
directory, which allows us the ability ...
c62675900a96dd645a1ff2ee0c316ef9232f443d authored over 12 years ago
018ec6faa0a9d0c8aa584bae2e0798ed7e3e021a authored over 12 years ago
317f442445fc40a666e9566e1f2739324cc99a2e authored over 12 years ago
94ff94e299257d22c0f45f980ce1a24b569b0b61 authored over 12 years ago
9a9e74076b474ceb1d0bc21c77d1ab4dec2acaf7 authored over 12 years ago
ca9251d74a18b47abacff2b63328061b9e484246 authored over 12 years ago
cdba22dd0fc249124dfb4e578f44898ba044925a authored over 12 years ago
f74c738fa76db65e45d2bdb19257fe0a78dcd0e0 authored over 12 years ago
rpm builder utility.
4e36bf2225d2b6e7a7ac1821e1d00ac72abb5856 authored over 12 years agouser normalization function instead of
the previous 'user' extraction.
12495e3e597541ad411a656c980b9e405c2a902d authored over 12 years ago
a2c6279d303a3b85625404653c7ab8081281ee18 authored over 12 years ago
a092e6e2eaa5dc848d71f16671c61fa6014ce0b2 authored over 12 years ago
device name, throw an error since rhel can not currently
handle this case.
90b6cfd005f5af90991fe93e5a08c8a8849e2a6d authored over 12 years ago
and produce a user and group list. Clean this up to
be simpler as well as handle the old 'user' c...
Rework the rhel sysconfig writing/updating so that it goes through a
single function which helps...
58be2ec4a3a3213700905f6bd3e6752775369471 authored over 12 years ago
c780ad5898f54741037ad66c28c3423aa0495fba authored over 12 years ago
ebd83a036cd94d856c2cd100202c6fb4ca287ce1 authored over 12 years ago
Fix the ifup so that if a list of devices is provided then each interface is
brought up individu...
In the event of a 403 (Unauthorized) in oauth, try set a 'oauth_clockskew'
variable. In future ...
e3b29659672acd757122bc5f90a13670b96b6952 authored over 12 years ago
cde52cc8449d82d5bdce2fbb73516bee144e293c authored over 12 years ago
In the previous commit to htis file I had wrapped the writing of
'BEGIN SSH HOST KEY KEYS' to go...
54e11417c93b646746a704a5ea85b47c3831fed4 authored over 12 years ago
This changes all output write-ssh-key-fingerprints to go to its
stdout by redirecting stderr to ...
sudo complains about the permissions on the sudoers config file that cloud-init
writes:
[ec2-us...
6c8b9dbae8beb4cb5ebab009b51f01f67114706f authored over 12 years ago9eaafc7379e0c6ded70a851a703a5bc5c7e56e42 authored over 12 years ago
since it has little dependence on the distros
class itself. Readjust the using code to use
this n...
d852495da6ae8eefee0ff7d2de14c398c0a87a51 authored over 12 years ago
6e0f6f3db662751c2b0bf837f2affe51b1f328a3 authored over 12 years ago
'etc/hosts' format and add in a unit test to
make sure that format can be correctly handled
and a...
009faa0546ffbcadbbcaa9692d6842890e6f2e10 authored over 12 years ago
separated list so that its types match more of
what the group list can be.
normalization instead of forgetting about it.
712d019cba5afb535033e8228ad365071661ceb2 authored over 12 years agoresponsible only for creating users and groups and
normalizing a input configuration into a norma...
at files since it is likely soon that we will add a new
way of adjusting the root of files read, ...
'default_user_groups' groups be hard coded
into the distro class, instead let that set
of configu...
we are going to check for the 'all' entry
and if that exists then only fire off one
call (since d...
d27690ebe160bf3eae8dc92f7364daef5cf56208 authored over 12 years ago
used for adjusting a resolv.conf formatted
file and use this to adjust the resolv.conf
in the red...
ea42bf67999c1ef61fa46ab805b0093b95dc575f authored over 12 years ago
17ac62b5d4d0cb3f25f431ff85411a7cca860d12 authored over 12 years ago
to avoid duplicating the same code in
this file.
so that it goes through a single function
which helps ensure correctness. Also write
to /etc/sysc...
then each interface is brought up individually instead
of using the '--all' which isn't on rhel. ...
This most commonly occurs if a user-data script does '/sbin/poweroff'
where syslog was being use...
LP: #1042764
3912209cdb075b7af8f87c1e41170fd8614ca520 authored over 12 years agois to patch the functionality before it gets reimported.
5eef154928c75499c545c8c242bcf11d9ccf70d1 authored over 12 years agod4ca178d801983bcb43bafd18084c144b74a4c9a authored over 12 years ago
A cloud-init job (user-data) might invoke /sbin/reboot or in some other
way end up killing cloud...
I had previously asked for this, but we're hoping to handle it in a
more generic way. Just beca...
the unit test required access to /dev/console due to the logging.
24d2457c2eab89f135e2b483f05d52eee0169af7 authored over 12 years agoa637b5f74948324173219a2e7817c7f19d864281 authored over 12 years ago
will be monkey patched in to replace the
base handler. That patching isn't quite
there yet but WIP.
update_package_sources on RHEL called "yum update", which actually
upgrades packages on the syst...
servers and add in the writing of /etc/resolv.conf in rhel from that
translation.
Network Manager (LP: #1053048), and apparently fedora/redhat do not like
comments in this file.
...
49f5833d03b41663ccd705521136718f6230eb4b authored over 12 years ago
This adds trailing newlines to /etc/default/locale, /etc/hostname,
/etc/timezone.
Fedora and RHEL and friends' useradd program supports an "--selinux-user"
option that sets what ...
0659e75ee2a2c25c113e8e652a3366433e76eff0 authored over 12 years ago
34bebd8569e9319b791802f4fd551537967aec69 authored over 12 years ago
62450b525e217b792dcf702fb2bd79d41bee17b7 authored over 12 years ago
8be10579588d4b2ebb425fa58f01856947c8d3c9 authored over 12 years ago
a32af38b525e4bb7a1d8317e136073d7a9323f3e authored over 12 years ago
11db1e91ddc047728b0161eb1da30e54084ae5eb authored over 12 years ago
c558334c6564341f97ad024f2687044534efc17f authored over 12 years ago