Commit graph

136 commits

Author SHA1 Message Date
Olivier Sallou
237069b941 add plugins to manage user packages, allow root login via ssh when root password is defined in conf, install opennebula context package 2013-07-31 16:57:29 +02:00
Olivier Sallou
cd6e10c6a1 Merge branch 'python' of https://github.com/andsens/build-debian-cloud into python 2013-07-31 08:03:08 +02:00
Olivier Sallou
4fb2921217 fix pub key mngt 2013-07-31 08:02:52 +02:00
Olivier Sallou
74398c099a add scripts to load ssh keys and execute ec2 user data if it is a script 2013-07-30 14:13:30 +02:00
Olivier Sallou
ac6870e37d fix root auth and grub settings 2013-07-30 13:03:08 +02:00
Olivier Sallou
6be6879db7 fix grub install 2013-07-30 11:21:09 +02:00
Olivier Sallou
af7dcebb25 udpate grub to add menu and add MBR 2013-07-26 15:33:16 +02:00
Olivier Sallou
cb4b2aad19 fixes for loopback and filesystem setup 2013-07-26 14:16:40 +02:00
Olivier Sallou
1fe0d56bc3 updates 2013-07-26 08:50:53 +02:00
Anders Ingemann
901d0845bf Bootstrapping of instance store AMIs implemented 2013-07-15 00:01:07 +02:00
Anders Ingemann
d0970f77fe Use local-gen instead of dpkg-reconfigure locales
locale-gen is more direct and does not produce an stderr output
2013-07-14 23:55:23 +02:00
Anders Ingemann
f9372ce97e Began work on S3 backed instances. Refactored adding tasks.
Got stuck on the bundle image call, it uses argparse.
Somehow we need to fake the arguments.
2013-07-13 15:13:03 +02:00
Anders Ingemann
9f85cdf909 Remove 'Volume' part from ebs tasks.
It's kind of obvious that we are working with volumes in the ebs module.
2013-07-13 15:12:45 +02:00
Anders Ingemann
554d99fc7f Move kernel mapping out of run() 2013-07-13 15:12:45 +02:00
Olivier Sallou
a2e8d0838e set root password only if set in manifest 2013-07-10 16:35:40 +02:00
Olivier Sallou
a4e8f08260 set sda for default grubé 2013-07-10 16:34:48 +02:00
Olivier Sallou
5e6ac546cd add root password setting 2013-07-10 16:34:12 +02:00
Olivier Sallou
17876070a5 add mirror attribute 2013-07-10 15:43:39 +02:00
Olivier Sallou
f9fafe71fb install grub 2013-07-10 14:55:27 +02:00
root
ed76870ec9 fix raw image creation 2013-07-10 14:42:03 +02:00
Olivier Sallou
0854f7920e add raw image file creation 2013-07-10 11:27:49 +02:00
Olivier Sallou
778ec8c270 add open nebula management 2013-07-10 10:49:45 +02:00
Anders Ingemann
e355e99189 Ensure the volume size is a multiple of 1024 when using EBS 2013-07-09 21:30:39 +02:00
Anders Ingemann
4e2503ad9c Put task class properties in identical order 2013-07-09 20:32:50 +02:00
Anders Ingemann
1acd86a85a Remove after = [Connect] from CreateVolume.
Connect & CreateVolume do not run in the same phase,
so the order is a given.
2013-07-09 20:24:08 +02:00
Anders Ingemann
b444b9ebf3 Remove lsof as a required package 2013-07-08 23:14:08 +02:00
Anders Ingemann
3a95740e6c Actually get MakeTarball to spit out the same sha twice in a row 2013-07-08 23:14:08 +02:00
Anders Ingemann
d6e6dbb4ee Fix weird exit status from debootstrap 2013-07-08 23:14:08 +02:00
Anders Ingemann
6f7978a465 Actually make MakeTarball useful 2013-07-08 23:14:08 +02:00
Anders Ingemann
5dd8c27c6a ImageRegistration task implemented 2013-07-08 23:14:08 +02:00
Anders Ingemann
58e560a893 All cli calls now use absolute paths 2013-07-08 23:14:07 +02:00
Anders Ingemann
7c2f248649 Wrap EBS specific tasks in an if block 2013-07-08 23:14:07 +02:00
Anders Ingemann
20587148f4 implemented CreateSnapshot 2013-07-08 23:14:07 +02:00
Anders Ingemann
5acd0a0dc3 Add unmount tasks to tasklist
squash! Add unmount tasks to tasklist
2013-07-08 23:14:07 +02:00
Anders Ingemann
f5a2acf128 Remove usage of glob 2013-07-08 23:14:07 +02:00
Anders Ingemann
6671a67d9b Implemented APT cleanup 2013-07-08 23:14:07 +02:00
Anders Ingemann
ba1fd93308 Pulled disabling of daemonautostart into separate task 2013-07-08 23:14:07 +02:00
Anders Ingemann
eec41422fc sprinkle some newlines around 2013-07-08 23:14:07 +02:00
Anders Ingemann
4180f16656 Implemented cleanup tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
5949c3c9cc Implemented init script installation 2013-07-08 23:14:06 +02:00
Anders Ingemann
501b336d0e Move ModifyFSTab task to filesystem 2013-07-08 23:14:06 +02:00
Anders Ingemann
14d6f5fb4f Implemented network tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
9ee096f262 Implement security tasks + minor fixes 2013-07-08 23:14:06 +02:00
Anders Ingemann
953e324ca3 Implemented DisableGetTTYs 2013-07-08 23:14:06 +02:00
Anders Ingemann
8bbf1b3fec Implemented BlackListModules 2013-07-08 23:14:05 +02:00
Anders Ingemann
8fb605e8f2 add ModifyFstab 2013-07-08 23:14:05 +02:00
Anders Ingemann
c187cf6c13 Implemented ConfigureGrub 2013-07-08 23:14:05 +02:00
Anders Ingemann
1a21b4d90e remove superfluous normpath() 2013-07-08 23:14:05 +02:00
Anders Ingemann
93cd8dae67 AptUpgrade depends on GenerateLocale to avoid error messages 2013-07-08 23:14:05 +02:00
Anders Ingemann
6628429732 Move AptSources into apt module 2013-07-08 23:14:05 +02:00