def configure_network_adaptor(device, ip, netmask, gateway, nameservers)
      super

      # Setup static IP without restarting network
      unless @boot
        logger.info "Updating in memory network configuration for #{device}"
        runshell("ifconfig #{device} #{ip} netmask #{netmask}")
        add_gateway_route(gateway) if gateway
      end

      # Also write to config file
      write_adaptor_config(device, config_data(device, ip, netmask, gateway, nameservers))

      # return the IP address assigned
      ip
    end
def configure_network_adaptor(device, ip, netmask, gateway, nameservers)
      super

      # Setup static IP without restarting network
      unless @boot
        logger.info "Updating in memory network configuration for #{device}"
        runshell("ifconfig #{device} #{ip} netmask #{netmask}")
        add_gateway_route(gateway) if gateway
      end

      # Also write to config file
      write_adaptor_config(device, config_data(device, ip, netmask, gateway, nameservers))

      # return the IP address assigned
      ip
    end
NOTE: not idempotent -- it will always all ifconfig and write config file