Skip to content
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

OpenNebula vmcontext.sh for FreeBSD guests. #42

Closed
wants to merge 1 commit into from

Conversation

olevole
Copy link

@olevole olevole commented Dec 1, 2014

Tested on FreeBSD 10.0+

@jmelis
Copy link
Contributor

jmelis commented Dec 1, 2014

Hi Oleg,

we are currently providing contextualization packages for Linux (.deb and .rpm) and Windows. It'd be great if we could provide a package for FreeBSD.

We currently host them in Github:
https://github.com/OpenNebula/addon-context-windows
https://github.com/OpenNebula/addon-context-linux

They do more that just configure the network:

  • 00-network
  • 01-dns
  • 02-ssh_public_key
  • 04-mount-swap
  • 05-hostname
  • 99-execute-scripts

It'd be great if we could start an addon-context-freebsd project that delivers packages for FreeBSD with all this functionality. Would you be up for that? You would need to maintain it or at least keep track for what FreeBSD / OpenNebula versions it has been tested with. We would link it from OpenNebula's official documentation.

@olevole
Copy link
Author

olevole commented Dec 1, 2014

Well, that's interesting. I'll look at it soon

@FlorianHeigl
Copy link
Contributor

@FlorianHeigl
Copy link
Contributor

update: works better than what I use now, will try to make the best of both :)

MAC=$1
NUM=`mac2ip $MAC | cut -d'.' -f4`
NUM2=`echo 000000$NUM | sed 's/.*\(..\)/\1/'`
sysrc -q hostname="cluster${NUM2}" > /dev/null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work; unfortunately you can't just assume the system is called "cluster_something"

@stale
Copy link

stale bot commented Mar 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team

@FlorianHeigl
Copy link
Contributor

it is not fun to autoclose contribs instead of upstreaming them :-( :-(

@stale stale bot removed the Status: Abandoned label Mar 6, 2019
@tinova
Copy link
Member

tinova commented Mar 6, 2019

Isn't this covered in the current context addon FreeBSD support?

https://github.com/OpenNebula/addon-context-linux

Let us know so we can close this.

@FlorianHeigl
Copy link
Contributor

@olevole can you check please?

@tinova
Copy link
Member

tinova commented Nov 4, 2019

Please let us know if we should add something to the current FreeBSD support by OpenNebula.

@tinova tinova closed this Nov 4, 2019
rsmontero pushed a commit that referenced this pull request Oct 6, 2020
rsmontero pushed a commit that referenced this pull request Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants