-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openruko - Using a full ubuntu OS #8
base: master
Are you sure you want to change the base?
Conversation
Conflicts: debug.launch dynohost/dynocontroller.js
@echo "Install npm modules" | ||
npm install . | ||
@echo "Optionally run make certs to generate test certs" | ||
sudo mount -o bind templates /usr/lib/lxc/templates | ||
sudo lxc-create -t openrutu -n openrutu-model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why openrutu?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name has been choosed in reference to ubuntu. Maybe openruntu would have
been a better choice.
This hase been done to allow us to make a new templates with another OS,
for exampe for a fedora based, openroda.
On Thu, Dec 6, 2012 at 9:58 AM, Romain notifications@github.com wrote:
In Makefile:
@echo "Install npm modules" npm install . @echo "Optionally run make certs to generate test certs"
- sudo mount -o bind templates /usr/lib/lxc/templates
- sudo lxc-create -t openrutu -n openrutu-model
why openrutu?
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/8/files#r2332271.
@@ -115,8 +124,13 @@ cat <<CONFIG >$lxc_dir/$dyno_id/config | |||
lxc.utsname = $dyno_id | |||
lxc.pts = 1024 | |||
lxc.tty = 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to remove the 4 ttys, you need to change this
Any plan to merge this ? |
I need some time to test it |
Hi,
if your are interested, I setuped a version using a full Ubuntu OS inside the container.
With this approach , the rootfs is not shared between the host and the container.
The different instances of the container use the same folder for /bin /usr and so on.
Because we setup a full linux, we need the /sbin/init to be launched : we cannot give the command in the lxc-start command.
For this, I created a new upstart file '/etc/init/openrukolaunch.conf' inside the lxc-container.
The only thing needed is to launch a dhcp server for providing an IP address to the container.
Here is what is setted in my DHCP configuration file /etc/dhcp/dhcpd.conf
The main goal of all this is to ahve a better isolation of the host and the container.
Please let me know if you like this approach, and if you like it, in which direction you want to go next.