Jan "Yenya" Kasprzak
b513d94c96
rpm/network: disable IPv6 autoconfiguration
...
When the IPv6 address is given to us from the contextualization
variables, use it and disable autoconfiguration.
(cherry picked from commit 7ffdd1fa30
)
8 years ago
Jan "Yenya" Kasprzak
c2316a74de
rpm/network: Use the IPv4 address if available
...
When the contextualization variables give us both IPv4 and IPv6
addresses, use both instead of expecting CONTEXT_FORCE_IPV4.
(cherry picked from commit e100dcc14c
)
8 years ago
Jaime Melis
80e0a44f6d
B #4792 : CONTEXT/USERNAME does not create a user in linux
8 years ago
Javi Fontan
80951d036f
Bump version to 5.0.2
8 years ago
Javi Fontan
7132f1b515
gh-53: Disable serial console in grub conf
8 years ago
Javi Fontan
e31a53e57c
gh-48: configure gateway only if it's explicitly set
8 years ago
Javi Fontan
fed4992cd5
gh-51: move EC2 context check to the last position
8 years ago
Javi Fontan
63f481e11c
gh-50: use ifup to configure interfaces in debian
8 years ago
Javi Fontan
c9a384b3a3
gh-47: set loopback device up
8 years ago
Javi Fontan
437c1a05b4
gh-47: Fix for Ubuntu 14.04 loopback device
8 years ago
Javi Fontan
d5a44a86b4
Bump version to 5.0.1
8 years ago
Jaime Melis
9aa2073806
Feature #4620 : Assign IP address to PCI-passthrough devices
8 years ago
Jaime Melis
6aee048786
Tune the package generator
8 years ago
Jaime Melis
b02b719705
Issue #45 : VM startup won't report READY=YES to OneGate
8 years ago
Jaime Melis
ea29b57d95
Add script to generate all packages
8 years ago
Jaime Melis
d96cb50f3c
Fix ubuntu 16.04
8 years ago
Jaime Melis
7449f0caa3
be less verbose
8 years ago
Javi Fontan
57daf9798c
gh-41: update state constants in onegate
9 years ago
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