Jaime Melis
03e12b5f7c
Remove debugging items from report_ready
9 years ago
Jaime Melis
db431f7acb
report READY=YES
9 years ago
Jaime Melis
b7d142272d
Add rpm and deb to gitignore
9 years ago
Javi Fontan
55a204caa0
Bump version to 4.90.0
9 years ago
Javi Fontan
0842ebd80c
Merge pull request #38 from brunorro/brunorro-centos_context_hostname-2
...
Modifying file /etc/hostname to set the hostname
9 years ago
Bruno Rodríguez
0ae7e5d83d
Modifying file /etc/hostname to set the hostname
...
On RHEL and CentOS 7 host name is kept in /etc/hostname, so even if SET_HOSTNAME has a value, the machine was keeping localhost.localdomain as name. This way the hostname file gets overwritten with contextualization variable value. I'm supposing that file /etc/hostname will be existing in next releases too (OS_VERSION >= 7)
9 years ago
Javi Fontan
70e85848fb
gh-35: renumber scripts to run growfs before net
9 years ago
Javi Fontan
9ac150f24a
gh-37: call reconfiguration on nic attach
9 years ago
Javi Fontan
7a95e9d044
gh-37: send first parameter to scripts
...
Will be used by reconfiguration
9 years ago
Javi Fontan
7daed7cc1b
gh-36: add --rpm-summary option to fpm
9 years ago
Javi Fontan
daec7dd650
Merge pull request #31 from tnosaj/githubissue-30
...
Used 02-dns calls to gather search/dns records
9 years ago
jat
a26f403513
Used 02-dns calls to gather search/dns records
...
add the records only to the first (`eth0`) interface, since it is
not possible to have multiple `dns-nameservers` and `dns-search`
entries in the `/etc/network/interfaces` file.
9 years ago
Javi Fontan
b2f3c9ed05
Merge pull request #28 from jamtaylo/replace-unsafe-chars-in-hostname
...
Replace unsafe characters in SET_HOSTNAME.
9 years ago
Javi Fontan
12ee268e9d
Merge pull request #27 from baby-gnu/feature/set-user-crypted-password
...
Set ${CRYPTED_PASSWORD} for ${USERNAME}
9 years ago
Jamie Taylor
6f07527f36
Strip leading and trailing hyphens
...
Strip leading and trailing hyphens in the resulting munged hostname.
Leading and trailing hyphens are not valid according to RFCs 952 and 1123.
(This problem surfaces immediately when using the default configuration of
OneFlow, since it names new VMs ending with a parenthesis.)
9 years ago
Jamie Taylor
1c335c690b
Replace unsafe characters in SET_HOSTNAME.
...
When setting the hostname from $SET_HOSTNAME, replace any characters
not allowed in hostnames (as specified in RFC 952) with a hyphen.
This is enables a VM template to safely use the VM's name as the
hostname (by setting the context variable SET_HOSTNAME=$NAME).
9 years ago
Daniel Dehennin
1caa2bfb6b
Set ${CRYPTED_PASSWORD} for ${USERNAME}
...
User provides either a clear text ${PASSWORD} or a crypted
${CRYPTED_PASSWORD}.
9 years ago
Javi Fontan
bbcadaa59d
Merge pull request #25 from baby-gnu/feature/set-username-password
...
Set ${PASSWORD} for ${USERNAME}
9 years ago
Daniel Molina
f0fd5c1ad4
feature #4255 : The VMID is mandatory in onegate actions
9 years ago
Daniel Dehennin
f2fb76475d
Set ${PASSWORD} for ${USERNAME}
9 years ago
Javi Fontan
4fdd90daaa
Bump version to 4.14.4
9 years ago
Javi Fontan
b5e1d71590
Change the order of context.sh retrieval methods
9 years ago
Javi Fontan
a39784fca5
Use specific postinstall per environment
9 years ago
Javi Fontan
d18062bdb2
Fix bug in one-contextd
9 years ago
Javi Fontan
84a969763b
Always write context.sh to /tmp
9 years ago
Daniel Molina
bd529d974e
gh-24: get context.sh in EC2 instances
9 years ago
Javi Fontan
37ce3c3e31
Init scripts for both one and ec2
...
In Debian the init script should be the same
9 years ago
Javi Fontan
dff9317cce
Move scripts for non ec2 machines to dir.one
...
generate.sh is also modified so it copies the files from these
directories by default or use dir.$ENVIRONMENT if specified. For
example, use ENVIRONMENT=ec2 to copy the directories that end in .ec2:
ENVIRONMENT=ec2 ./generate.sh
base
base.ec2
base_deb
base_deb.ec2
9 years ago
Javi Fontan
ebc52b18d0
Bump version to 4.14.3
9 years ago
Javi Fontan
07028b4ded
Merge pull request #23 from baby-gnu/feature/configurable-ssh-user
...
Contextualize SSH user with $USERNAME variable
9 years ago
Daniel Dehennin
0d8ae8d848
Contextualize SSH user with $USERNAME variable
...
Make sure to retrieve ${HOME} location from getent.
9 years ago
Javi Fontan
731361e752
Add extra information to gate env file
9 years ago
Javi Fontan
5374849fc2
gh-22: add support for token in vcenter context
9 years ago
Javi Fontan
f553d64e89
Bump version to 4.14.2
9 years ago
Javi Fontan
4531030cba
Merge pull request #20 from baby-gnu/fix/ssh-public-key
...
Create SSH directory before authorized_keys file
9 years ago
Daniel Dehennin
a60dda7eae
Create SSH directory before authorized_keys file
9 years ago
Javi Fontan
01162730e0
Merge pull request #14 from fasrc/master
...
gh-14: Arch one-context support
9 years ago
Dan Kelleher
12cc68ec9e
Change cloud-utilz-bzr to mkinitcpio-growrootfs to reduce dependencies
9 years ago
Javi Fontan
e371ddecfa
gh-19: tidy up ssh key script
9 years ago
Javi Fontan
66b8474374
gh-19: create authorized keys if it does not exist
9 years ago
Javi Fontan
e04ab3383f
gh-19: don't overwrite authorized keys
9 years ago
Dan Kelleher
d018d9854e
Add cloud-utils to PKGBUILD depends
9 years ago
Dan Kelleher
29d7b71c88
Clean up PKGBUILD
9 years ago
Dan Kelleher
6dad6796df
Fix one-contextd and deb/rpm init.d
...
One-contextd was missing a call to the start function.
The init.d scripts were calling one-context not
one-contextd
9 years ago
Dan Kelleher
da46fea6e7
Cleanup post install for pull request
9 years ago
Dan Kelleher
940813f9f5
SysV scripts now call /usr/sbin/one-contextd
...
I was unable to make systemd scripts for Debian 7 and CentOS 6
so for backwards compatability made the SysV script call
/usr/sbin/one-contextd. This should be revisited in the future.
9 years ago
Dan Kelleher
2cd057a99f
Remove Arch from postinstall and added PKGBUILD and one-context.install
9 years ago
Javi Fontan
a99ce6b1ed
Merge pull request #18 from fasrc/Swap
...
Swap script will now swap on all available swap spaces
9 years ago
Javi Fontan
930f49dfd9
Merge pull request #15 from puppetmaster/fix-growrootfs
...
Fix growpart error when missing.
9 years ago
Javi Fontan
ef7ccabe3a
Merge pull request #16 from puppetmaster/fix-ifquery-error
...
Fix ifquery error on Debian based OS like ubuntu
9 years ago