Open lZzozZl opened 3 years ago
The dependency on bash slipping is is because I use bash in most of my builds and missed that.
I stopped building from source some time ago when I no longer had hardware that required special builds, I've been using Image Builder, it is simpler and faster turn-around when all you are doing is custom-packaging images and not making source-level changes. That said, 19.07.7 is the last image I have built for x86.
Is your issue that rc.config is unable to properly configure OpenWRT for DHCP client or that it is not picking up the metadata from Nova?
Hi again. Sorry for late response.
First to ask on your question. I do not have idea to be honest. I'm complete noob in this field and those are my first steps into it
As i read your answer i found how the image builder. but again i stumble upon few things that throw me even more back.
I manage to found a official guide for openwrt image build: https://openwrt.org/docs/guide-user/additional-software/imagebuilder
First thing that i was wondering is how to add your repo to the builder so when i use make command your files to be in it I try to add your github in repositories.conf src/gz dtroyer https://github.com/dtroyer/openwrt-packages - it did not work. The error was cannot download
Than i clone the repository and add the line where they are located src dtroyer file:///openwrt-packages the error was: Failed to copy file, no file or directory. For some reason the builder add a /Packages automatically after ///openwrt-packages
At the end i just try to add them as custom files I make a new directory called files at the root directory of the image builder and paste there the four rc.cloud files from your repo
Than i run make, I do not know are they in or not :D Also the end file after make is a .bin format that openstack cannot work with, it is not something like qcow2 or raw.
could you please guide me how can i make it work?
Hello sir. I want add openwrt with cloud-init in my openstack and i found your article http://hackstack.org/x/blog/2014/08/17/openwrt-images-for-openstack/
I saw the date y.2017 but i give it a try, aaaaand i fail :D The image it did not even run xD
So i started again and stumble upon few things that are not existing anymore or I am missing something
I am using Ubuntu Mint 20.04 Manage to make the build environment and download and add your feed
Than we go to
make menuconfig
and here is first thing On a Target system I manage to find x86 option, but on the Subtarget i did not see any KVM guest option to select I only got: Generic, Legacy, AMD Geode based systems, x86_64For testing purposes ( because, generally I am new to this ) i pick the x86_64 option and then i start compiling
The second thing that i stumble upon was when i was trying to chroot into the the .img file. There was not /bin/bash I say to my self, ok than, i wil use /bin/sh instead ^^
The third and final problem that i got was with DHCP configuration, i did not find network.lan option. Even when i listed available options with uci, network.lan.proto was not there. I dig a bit, and go to /etc/network there i found a directory /dhcp but i did not mess with it much.
So yea the end result was not running .img file.
Ive searched allot how to add KVM guest into the subtarget option, bay be i was looking on some of the answers but i did not know is this the right answer and how to apply it.
Could you please help me create an a image with rc.cloud in it? If i manage to make a working one i will make a guide and will send it to you so you can post it or upgrade the old one.
Or if it is possible please upgrade the guide and i will try to follow and make working .img file.
Thanx in advance Greetings, r.yordanov