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
Add in a configuration module that can write out the yum.repo format for
those that want to hook...
d7a42777c83668111d9bb496f581605b33a0b4f2 authored over 12 years ago
9cb3130b0b87eabe458df7dc113f00431ff3648e authored over 12 years ago
15f3d2e53437e18f50c037694e6db174c9d5cf8f authored over 12 years ago
This migrator module does a few things
* fixes filename markers that were written with a '-' in...
a17a69c35c1de0a6bd6f054f76d3da9e4a9c5364 authored over 12 years ago
2c79c14b510751ab455888ab46f70c27b219bd19 authored over 12 years ago
when that group configuration is a dict => members.
LP: #1077245
1169dcc5f18fd9a5adbf353bec87e48d563550a5 authored over 12 years ago0bd973791f05f1d7f94e91b354015789b6b608dc authored over 12 years ago
8c006684034c13719171672836edfc65bf02ebe9 authored over 12 years ago
where rhel uses the fqdn for its config while
ubuntu uses the short hostname.
b0f6c7bfa94a5ba302debdc16a175cb0017f9634 authored over 12 years ago
bd01f3466e10ca515a8e8aec42d00201f40cbd53 authored over 12 years ago
the fully qualified domain name should end
up in /etc/sysconfig/network by passing the
fqdn to th...
reflected when running in the init stage
after user-data has been loaded.
of the init class are reset so that when they are
regenerated that they will use the updated data...
bad yamls are found instead
of returning zero in that case.
This change does 3 things:
* revert the fix from revno 697
* minor clean up some local variabl...
This makes zsh act like 'sh', but only for the function local function.
This way, we do not affe...
380bd3f3417c640191bdf90f6622f8bbbe12b5c7 authored over 12 years ago
ce14139c0f94b99c8c47192620b0a9faf66a96a2 authored over 12 years ago
is actually a valid value returned.
2. Adjust variable naming
when applying the canon routine.
2. Add in a function to migrate legacy
semaphores to new s...
that can be used to aid in the moving
of older versions of cloud-inits data
to newer versions of ...
and fix the cases where the cc yaml
is not correct.
2. Added example cloud-config
3. Added functioning test for yum config
1e6fc277a1c8d695c37741cc31f5ddab3d5b5600 authored over 12 years ago
1. Remove the usage of the path.join function now that all code should
be going through the u...
8b677bc80a39a0eb1a3cc7989c6bffb959fc7a69 authored over 12 years ago
This splits code in apt_update_upgrade into 'apt-update-upgrade' and
'apt-configure' and 'packag...
180620470ba9aae4aac804b8bd66d3af8bd71ee4 authored over 12 years ago
8ada8c1f625be5365a5116c458476c7deeae8818 authored over 12 years ago
0da58fe113726c7654bca54b365d95044b44ef87 authored over 12 years ago
df3300e23324f2bb4d0d21a433b03708dc2feaeb authored over 12 years ago
5ffd19a0fbc473e34ac78f80d264c08ac0125e2b authored over 12 years ago
Fix the case where a unknown type is seen and it has contents which are in
unicode. That caused...
9850895442afe55079cecf4fd96fe8430ed960ea authored over 12 years ago
attempt the unicode-escape path.
7ec0ef04b975eb5b4c40f7ae746d706585c73a02 authored over 12 years agoit has contents which are in unicode which seems
to cause python to blow-up when this happens sin...
LP: #1073077
c508fa0c4159f93df077a2d46ed481fd5d8c8803 authored over 12 years ago
1. Remove the usage of the path.join function
now that all code should be going through
th...
LP: #1068801
ec28772204c9b262e34cc7837e3baac0dac5ec5e authored over 12 years ago8ffc2c8f791b7694a121ec30dac7437c6e8fdb9b authored over 12 years ago
are used that lazily load the metadata from the
ec2 metadata service.
1. Add a ec2_utils module ...
758e152721891c707573757fe7a7ff410ec446e2 authored over 12 years ago
Use only util methods for reading/loading/appending/peeking
at files since it is likely soon tha...
Add a new example test that will patch utils and os
functions so that they can be 'retargeted' t...
users groups function when
its provided by the get user
function.
LP: #1065116
43d46a36bd3c626317aa13aca15f0a0c639777b5 authored over 12 years agoLP: #1070345
0421d502e903f3c3ece767be57df7c27323241a0 authored over 12 years agoCreate /etc/sudoers.d if not present.
Attempt to determine if /etc/sudoers.d will be used by /e...
d6ecf35e15b3ba6ab6448b77b52cb78c63165880 authored over 12 years ago179f82a9719c2850e465f7f06221978f3be15ffc authored over 12 years ago
182bf60757b76f86ffb4e5ee9aebcc8ce0fcc74f authored over 12 years ago
923f5c70fbff04ff538a5df17c300a9f39a85180 authored over 12 years ago
Remove the need to have 'default_user' and 'default_user_groups' groups be
hard coded into the d...
1. Handle our own retries (so that we can sleep in between)
2. Cleanup the url so that partially...
8036ff686ae7e1a884e6a78022dd86a8eab514ec authored over 12 years ago
eec668c2256fc32a8d0879e1d91340d307c0971f authored over 12 years ago
since it provides the same support (and it uses
that library). Urllib3 doesn't seem to exist as
i...
userdata and metadata. Add in this crawling functionality
to the ec2_utils module that will fully...
use ssl correctly (they can not do validation due to
the underlying usage of urllib/httplib). Ad...
04f52eb593e4f5114626c74fd8f3c5a9a8d440bd authored over 12 years ago
0b73122b6a7c63d4ab1b117c6c0c136876fefd16 authored over 12 years ago
8e38c908da002b350d26845ffb5931b4efce1ca8 authored over 12 years ago
85a412c172044ae89d381f69ddb309ce8b3cea6e authored over 12 years ago
that removes some of the code in apt_update_upgrade
to do upgrades and installs and places it in ...
cf80962e51a925d5b895d0ef90c2a15ad99778b3 authored over 12 years ago
e8371b113c078f3017c44804662960da9a04abf2 authored over 12 years ago
19c640ebfd3832ec1582c6c134ea68efac95588c authored over 12 years ago
write out the yum.repo format for those
that want to hook into different repos
for installing.
LP: #1066115
bdaa57bc5b8a75b0891673a7bb0a60c5b02beb7c authored over 12 years ago7d7cb0c7126ad4f67099f741dac67aceff66d002 authored over 12 years ago
bbe325c902ef3a3b8845cd3c1bb8bee0c3c74a89 authored over 12 years ago
204c635e622b52bbe2b2c2a72765e3cb886602fc authored over 12 years ago
variables to be expanded which when using
pipes.quote will now not be expanded, so add
some check...
variables adjusted in sysconfig files are
properly quoted for there common use case,
that being s...
059a4c45ab2b4439872d138452d6296bfe82be07 authored over 12 years ago
helper objects.
1. Add in a parser for the /etc/hostname file that can be shared
2. Adjust the s...
function will not be permanent and catch the
exception that occurs if it fails and log that
inst...
of this function that needs to occur since
its pretty much the same now.
1. Move out the old helpers that provided oop access/reading/writing
to various standard conf...
preparation for having a new branch
for all of these changes.
LP: #1065116
e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1 authored over 12 years ago4a3eab9f5a49f8ebdf30b8378fa58c342b3d9c8a authored over 12 years ago
differently in the rpm spec file template instead
of being joined with the release.
release number which can be to increment
cloud-init while still maintaining the
'major' cloud-ini...
it adjusts the fstab correctly and adds
tests in that verify the actions that
should happen (also...
40a54a4f4a486bc196ee0eac53ef630c828aef8e authored over 12 years ago
to ensure that even if they are found that they
are also valid, before they are assumed to be
the...
Also fix the extraction of the metadata key name
since it actually uses 'dashes' instead of bein...
translate the device name to a actual device using
logic that will try the ec2 metadata (if avail...
cb30e7ed56e2c26e654d1703d3f44495a160c6eb authored over 12 years ago
7a2e678685dbc94e13f6d8ca6a5e92000e1f974f authored over 12 years ago
use the datetime.now(), the others get
a warning message.
since this causes rpmbuild to croak with errors like
'changelog not in descending chronological o...
f73abb10210e21da858b99238e2945e5bf1cfac2 authored over 12 years ago
Note, I've marked this as fixing LP: #1061964, but clearly it does not.
that was fixed under rev...
For the cloud-init rc.d, ensure that the cloud-init-local mode is attempted
as a hard requiremen...
Ensure that for config drive that we map 'hostname' to 'local-hostname' so that
the modules work...
82314d806e8c7fd876bce2765ad3bb5ba235d09b authored over 12 years ago