=== praneshp_ is now known as praneshp | ||
RaginBajin | Can someone help me understand the difference between say DataSourceConfigDrive and DataSourceConfigDriveNet? | 11:44 |
---|---|---|
RaginBajin | For some reason, when I boot up, cloud-init can't find the configDrive. But if I log into the box, and run cloud-init init, it works just fine. | 11:45 |
RaginBajin | When I run cloud-init on boot, it fails to find my configDrive. If I log into the console and then run it, it seems to work just fine. Any ideas | 12:27 |
harmw | RaginBajin: still fbsd? | 12:37 |
RaginBajin | yeah | 12:37 |
RaginBajin | It looks like I got everything working, and then tried on a new host and rebooted it | 12:37 |
RaginBajin | harmw I just don't get. Everything looks right. I am just wondering if a part of the boot processes hasn't finished and it holding back certain data from being accessed. | 12:42 |
RaginBajin | harmw: Figured it out. BLKID needed to be set to an exact path, since it wasn't being found. | 12:54 |
harmw | hm ok | 12:59 |
harmw | well, I haven't ever tested it with 1) a recent version of c-i and 2) clouddrive | 13:00 |
harmw | if you have patches you're more than welcome to submit those :) | 13:00 |
RaginBajin | I definitely will. I need to do some thinking about them though. I had to insert some specific fbsd things to make it work. I think if I can figure out how to know what distro that is being used, then I can make this nicer | 13:08 |
RaginBajin | right now, it's pretty rough. | 13:08 |
harmw | Ill look into running it again sometime soon as well | 13:15 |
harmw | did you run into an issue regarding hostnames btw? | 13:15 |
harmw | (setting the hostname) | 13:15 |
RaginBajin | I think I did, and let me see how I fixed it. | 13:22 |
RaginBajin | Ahh, yes. It's actually in the loadrcconf method. It doesn't handle comments very nicely. Since we try to split on = it doesn't find that match and basically stops working. Never to update the hostname | 13:25 |
RaginBajin | so, I did a match for ^# and if the line didn't start with a comment, then to actually do the split. If it does, it just skips over it. | 13:25 |
RaginBajin | The problem with that is that someone will lose all their comments in the rc.conf | 13:25 |
harmw | oh lol, it's not taking care of #? | 13:25 |
harmw | I knw that regex was a bit harsh, but I didn't know it was going to break stuff | 13:26 |
RaginBajin | I was thinking of really jsut getting rid of the loadrcconf, and moving it into the updatercconf. So if a value was to be updated, then it just parsed the file, and updated it once it found it. | 13:27 |
RaginBajin | That would leave the comments in place and the order in place as well. | 13:27 |
harmw | Ill have a look, somewhre soon | 13:28 |
harmw | thanks for pointing this out :) | 13:28 |
RaginBajin | Not a problem. I'm not sure I mentioned it, everything else seems to be working, and its been a life saver to have all the functions you've added. | 13:29 |
RaginBajin | and I'm not sure if the changes were more of a FreeBSD10 thing than anything else. I want to try it on 8 and possibly 9 as well. | 13:29 |
harmw | its only tested on 10 | 13:29 |
harmw | though the things being done so far aren't realy specific to any version | 13:30 |
harmw | well, perhaps the ifconfig rc.conf syntax | 13:30 |
RaginBajin | Yeah, I think it may be really just blkid that may not exist in those other versions | 13:30 |
harmw | ahyes, well, since that regards configdrive I'm not ready yet to comment on that :p | 13:30 |
harmw | btw, you're always welcome to file bugs at launchpad, and even supply patches with them :) | 13:31 |
RaginBajin | will do | 13:35 |
=== zz_gondoi is now known as gondoi | ||
harmw | RaginBajin: how did you create your fbsd image? using oz? | 17:46 |
alexpilotti | smoser: good morning! | 18:10 |
RaginBajin | harmw: I created the image using the bootonly iso. Then I checked out the latest build of freebsd, and rebuilt the environment. (make world, etc) | 18:12 |
harmw | RaginBajin: ok, you could try looking into oz then | 19:41 |
harmw | nice little tool to create al sorts of images which can be directly inserted into glance | 19:41 |
harmw | ok, uploading a shiny new fbsd10 image to glance now so I'm almost ready to checkout the new ci on that | 20:17 |
=== gondoi is now known as zz_gondoi |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!