Commit graph

473 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
154c438729 Fix required jsonschema version and link to package homepage 2013-07-14 10:08:40 +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
59bae6e497 Create unique identifier in BootstrapInformation
Can be used to uniquely name temporary resources
2013-07-13 15:12:46 +02:00
Anders Ingemann
135ebfbb95 Return stdout in log_check_call 2013-07-13 15:12:45 +02:00
Anders Ingemann
b3311a8ff6 Only add default tarball_dir if tarball is true 2013-07-13 15:12:45 +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
5c4456139d manifest alignment stuff 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
Anders Ingemann
64045a2808 Dont create tarball by default 2013-07-13 15:12:44 +02:00
Anders Ingemann
3acb7956e0 Clarify the required jsonschema version 2013-07-13 12:42:26 +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
1bfff5221a add sample root password 2013-07-10 16:34:28 +02:00
Olivier Sallou
5e6ac546cd add root password setting 2013-07-10 16:34:12 +02:00
Olivier Sallou
6c81ee2f8c allow to PIPE some input to command 2013-07-10 16:33:35 +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
311db52f7b Ensure minimum volume size of 1M 2013-07-09 21:31:10 +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
55741b822f Prebootstrapped plugin now autocreates a snapshot
of the bootstrapped plugin, if no snapshot ID is provided.
2013-07-09 20:45:57 +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
2355965d07 Create README.md 2013-07-08 23:14:09 +02:00
Anders Ingemann
b444b9ebf3 Remove lsof as a required package 2013-07-08 23:14:08 +02:00
Anders Ingemann
8bcc0ca2ad Use month not minute for ami name 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
be387673c0 Add log message to indicate a successful completion of all tasks 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