Javi Fontan
ed6b9b273e
Change copyright headers
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
Daniel Dehennin
1caa2bfb6b
Set ${CRYPTED_PASSWORD} for ${USERNAME}
...
User provides either a clear text ${PASSWORD} or a crypted
${CRYPTED_PASSWORD}.
9 years ago
Daniel Dehennin
f2fb76475d
Set ${PASSWORD} for ${USERNAME}
9 years ago
Javi Fontan
84a969763b
Always write context.sh to /tmp
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
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
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
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
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
9 years ago
Javi Fontan
382b3d602d
gh-10: add script to grow root fs
...
Uses growpart from cloud-utils and supports ext4 and xfs
9 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
Javi Fontan
cd7e9da5c8
Make one_env readable by all users
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
Javi Fontan
1c33cbaa10
Move context packages to its own repository
11 years ago