|
[08:30] <leeuwenrjj> Hi, I have a simple question but I cannot find it anywhere in the docs: How can I set the security repositories through cloud-init? apt_mirror for the mirror works fine but I cannot find the setting for the security repo's (ubuntu) |
|
[20:45] <zero_shane> hi all - I have a question on cloud-init, used in conjunction with the Ubuntu "vmbuilder" tool - everything is working perfectly for me - **except** the default config for /etc/cloud/cloud.cfg.d/90_dpkg.cfg (datasource_list) wires in a bunch of datasources that causes a LONG delay on initial boot of my VMs |
|
[20:46] <zero_shane> I change it afterwards - to remove all datasources I don't need - but it takes a long time before my initial VM comes up and is configured |
|
[20:47] <zero_shane> are there any pointers on how to force cloud-init configuration on *initial* package install to wire the datasoures - in an automated way - since this is not a "human involved" install process (eg the configure step in the packaging) |
|
[22:02] <smoser> zero_shane, you can preseed that. |
|
[22:02] <smoser> the key is cloud-init/datasources |
|
[22:02] <smoser> its preseed like any other preseed is done. |
|
[22:03] <zero_shane> smoser: thx for reply - in conf. call right now - will look at that in a short bit |
|
[23:29] <zero_shane> smoser - I'm not seeing how I'd pass in a preseed to the vmbuilder build process? I see the default /etc/vmbuilder/*/*.tmpl template files .... |
|
[23:30] <zero_shane> and can make changes there ... also (re)read through the docu I can find (https://help.ubuntu.com/12.04/serverguide/jeos-and-vmbuilder.html) but haven't found specifics on overrideing anything outside of those existing template files |
|
[23:31] <zero_shane> I suppose I could *NOT* define cloud-init as a build-time package insall, and do that as a post-build task, then override the config, thus avoiding the 15 minute delay waiting on initial boot |
|
[23:32] <zero_shane> but it'd be nice to figure out how to override this via vmbuilder directly |
|
|