Javi Fontan
b10446a695
gh-42: change shutdown action to terminate
9 years ago
Javi Fontan
ea0ce70fb9
Change onegate version number
9 years ago
Javi Fontan
2284b9f597
Bump version to 5.0.0
9 years ago
Javi Fontan
ed6b9b273e
Change copyright headers
9 years ago
Javi Fontan
4ebe19e082
Merge pull request #43 from laurencegill/master
...
Chaned to handle lvm and regular partitions
9 years ago
Javi Fontan
52580e751f
gh-39: use constants instead of file paths
9 years ago
Javi Fontan
d1b3f4e9bb
gh-39: add locking to context startup script
9 years ago
Javi Fontan
e530847e39
gh-39: execute reconf when context changes
9 years ago
Javi Fontan
281215e6cf
gh-32: skip network configuration when no IPs are defined
9 years ago
Javi Fontan
6b01b989b6
gh-26: skip conf when interface is not found
9 years ago
Javi Fontan
e037c33b4a
gh-26: skip conf for interfaces without IP
9 years ago
Javi Fontan
3af4c9919f
Fix whitespace
9 years ago
laurencegill
c89e3f73fe
Update 05-grow-rootfs
...
workaround for debian (the mtab is different to the output of mount)
9 years ago
Javi Fontan
7f6e3057ee
gh-40: Move udev rules to /lib/udev
9 years ago
laurencegill
525a507d3f
Update 05-grow-rootfs
...
Try to handle lvm root partitions, only tested on centos7 atm
9 years ago
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