-
Notifications
You must be signed in to change notification settings - Fork 482
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
Conversation
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: They do more that just configure the network:
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. |
Well, that's interesting. I'll look at it soon |
also found this: https://github.com/slob/freebsd-one-context |
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 |
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.
This doesn't work; unfortunately you can't just assume the system is called "cluster_something"
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 |
it is not fun to autoclose contribs instead of upstreaming them :-( :-( |
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. |
@olevole can you check please? |
Please let us know if we should add something to the current FreeBSD support by OpenNebula. |
Tested on FreeBSD 10.0+