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 attach_nic.patch #4

Open
ykhacha opened this issue Sep 20, 2017 · 2 comments
Open

Opennebula attach_nic.patch #4

ykhacha opened this issue Sep 20, 2017 · 2 comments
Assignees
Labels

Comments

@ykhacha
Copy link

ykhacha commented Sep 20, 2017

Hello I'm using Opennebula 5.4, and i'm unable to patch attach_nic file, with this error message:

patching file attach_nic
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file attach_nic.rej

below the content of attach_nic.rej file:

--- /dev/null
+++ /dev/null
@@ -25,6 +25,12 @@
THE_MODEL=$4
NET_DRV=$5

+#-------- code snip to attach floating IPs --------------------------
+source $(dirname $0)/ipfloater
+attach_ip "$DOMAIN" "$MAC"
+# -------------------------------------------------------------------
+
+
if [ "$THE_MODEL" != "-" ]; then
MODEL=""

@dealfonso
Copy link
Member

Hi, this is because the version of ONE is newer than the one supported. I will update this.

@dealfonso dealfonso self-assigned this Sep 26, 2017
@dealfonso dealfonso added the bug label Sep 26, 2017
@ykhacha
Copy link
Author

ykhacha commented Sep 26, 2017

Hello, dealfonso for your information i'm using vCenter driver where the attach_nic file is in Ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants