Skip to content

Opennebula attach_nic.patch #4

@ykhacha

Description

@ykhacha

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=""

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions