Jaime Melis
7449f0caa3
be less verbose
9 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
ed6b9b273e
Change copyright headers
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
Jaime Melis
03e12b5f7c
Remove debugging items from report_ready
9 years ago
Jaime Melis
db431f7acb
report READY=YES
9 years ago
Javi Fontan
70e85848fb
gh-35: renumber scripts to run growfs before net
9 years ago
Javi Fontan
7a95e9d044
gh-37: send first parameter to scripts
...
Will be used by reconfiguration
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
b5e1d71590
Change the order of context.sh retrieval methods
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
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
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
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
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
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
Javi Fontan
a99ce6b1ed
Merge pull request #18 from fasrc/Swap
...
Swap script will now swap on all available swap spaces
9 years ago
Dan Kelleher
cb570384b9
Fix a typo and use blkid flags
...
Instead of using grep and cut use only the blkid flags to output
SWAP_DRIVES.
9 years ago
Dan Kelleher
5180beec73
Rewrite 04-mount-swap to swap on all swap partitions.
...
The 04-mount-swap was only mounting on swap with a label swap.
This will now swap on all swap type partitions.
9 years ago
Dan Kelleher
50f8d3c91a
Change one-context to one-contextd
9 years ago
Dan Kelleher
2190ff94a7
Move one-context to sbin and refactor one-context.service
...
One-context should really have been in sbin all along. Updated
one-context.service to run before systemd-networkd but after udev
or kdbus have run. This should eliminate the requirement for a
systemd-networkd restart.
9 years ago
Philippe Caseiro
6e6e70e29f
Fix growpart error when missing.
...
If the virtual machine don't have cloud-utils intalled this script print errors.
I test if growpart command is available before running the action
9 years ago
Dan Kelleher
ffdebdb018
Added arch linux support for one-context
...
Addded Arch linux support for one-context. Moved the
init.d directory to distro specific directories in
order at add systemd compatability. 00-Network was
also reworked to use systemd-networkd.
10 years ago
Javi Fontan
c02f84541a
gh-10: support device links in mtab
...
The device in mtab can be a link, for example /dev/disk/by-label/root
10 years ago
Javi Fontan
382b3d602d
gh-10: add script to grow root fs
...
Uses growpart from cloud-utils and supports ext4 and xfs
10 years ago
Javi Fontan
5b4d39f62c
feature #3651 : Add support for start script in context
...
If START_SCRIPT_BASE64 or START_SCRIPT is found in the context it is saved
to a temporary file and executed.
For OpenNebula ticket: http://dev.opennebula.org/issues/3651
10 years ago
Edouard Bourguignon
d54cad784b
gh-7: use blkid to find the context CD
...
Also for http://dev.opennebula.org tickets #3749 and #3365
10 years ago
Javi Fontan
8d98d5a8cc
Change onegate version
10 years ago
Javi Fontan
cd7e9da5c8
Make one_env readable by all users
10 years ago
Javi Fontan
a44d12c0be
Add start wrapper to onegate tool
...
It first sources /tmp/one_env file to get context data
10 years ago
Javi Fontan
644d1f12e3
Add script to generate environment file in /tmp/one_env
...
Based in the script made by Daniel Molina <dmolina@opennebula.org>:
5ce7c87cc8/share/onegate/init.sh
10 years ago
Daniel Molina
42e56c9246
Add onegate script to context
10 years ago
Javi Fontan
d04590e74d
gh-5: Get information from vmware tools if context cd is not found
...
Used with vcenter driver
10 years ago
Javi Fontan
1c33cbaa10
Move context packages to its own repository
11 years ago