grycap / ipfloater

General purpose floating IPs
Apache License 2.0
19 stars 4 forks source link

Opennebula attach_nic.patch #4

Open ykhacha opened 7 years ago

ykhacha commented 7 years ago

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 commented 7 years ago

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

ykhacha commented 7 years ago

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