On Wed, Feb 13, 2013 at 5:21 PM, Donal Lafferty <donal.laffe...@citrix.com> wrote: > Hi Rohit, > > I wanted to ask a question out of band, because I don't want to confuse this > thread's discussion. > > Are you talking about a veewee script that will build all the systemVMs, or > just the one used for devcloud?
Just the scripts for building systemvm in tools/appliance The code that builds devcloud (xenbox) and basebox (base os vagrant box) was last tested many weeks ago, the work was mostly done by James who may want to fix 'em up maybe, folks on last irc meeting were also asking for that. I'll probably look at them, fix them later. Regards. > > > DL > > >> -----Original Message----- >> From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf >> Of Rohit Yadav >> Sent: 12 February 2013 13:00 >> To: Chiradeep Vittal >> Cc: Chip Childers; cloudstack-dev@incubator.apache.org; Sheng Yang >> Subject: Re: Building SystemVM template appliance >> >> >> >> >>> It still builds with the hostname as 'ahha' -- I can't figure out why. >> >>We can enforce hostname in one of the postinstall scripts, I found >> >>some reference of ahha in config.dat >> > >> > Figured it out: the dhcp server in vbox hands out the dns server of >> > the host (in my case my corporate dns server). Dhclient reverse looks >> > up >> > 10.0.2.15 (the address of the vm) and gets a valid response from the >> > corporate dns server. Annoyingly this is used to name the volume group >> > during partitioning. The only foolproof way may be to write a custom >> > partman recipe in preseed.cfg. >> >> Okay this is the issue :) I'll fix in preseed.cfg so we'll have only one root >> partition (and maybe a small swap but not required I think?) like the present >> systemvm which too has only one / partition, unless you want a different >> scheme. >> >> > You can change the ip of the vm using >> > :vm_options in veewee but veewee's http server is hardcoded to >> > 10.0.2.2 so nothing else works. >> > >> >> >> >>> What is left: >> >>> Openswan requires interactive input to install. Previously we had a >> >>> pre-baked config.dat that fed into pkg-configure to supply canned >> >>> responses. Somehow this needs to be copied into the root directory >> >>> (postinstall_files in definition.rb will try to execute it). >> >> We can embed the data in one of the scripts itself or add a new one so it >> could copy itself, will fix this. >> >> >>scp to suitable path inside systemvmtemplate on port 7222? (See >> >>definitions.rb for ssh port details). Install ssh server in >> >>postinstall script if not installed (I think it is), or just attach >> >>the payload in yet another postinstall script and let it run. >> > >> > Well veewee doesn't let you write custom scripts that execute on the host? >> > Anyway, I figured we can use debconf-set-selections to avoid this problem. >> > As far as copying the custom scripts goes, perhaps we can wget from >> > git-wip-us.apache.org repo ? >> >> Cool, I saw you already made change. >> >> > I've left a few FIXME in cloudstack-packages.sh, please take a look. >> >> Except for the signature creator I fixed other ones. How do you propose we >> create the signature, use latest git SHA? >> >> Regards. >> >> > >> > -- >> > Chiradeep >> >