Ad Widget

Collapse

Hyper-v Appliance - Cannot Set Interfaces + VI not Working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andry79fi
    Junior Member
    • Jan 2019
    • 3

    #1

    Hyper-v Appliance - Cannot Set Interfaces + VI not Working

    Hello
    i've download the Hyper-v Appliance but i cannot sei Static ord DHCP Ip because VI editor not work in Hyper-V console.
    I cannot use ESC to save my modify and there are also problems with writing.
    Has anyone encountered this problem?
    Unfortunately there is only VI on the server and it is not possible to install other editors (because there is no network).
    I've also tried Generation 2 VMs but it does not solve the problem.

  • aigars.kadikis
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2018
    • 208

    #2
    Do you use appliance dedicated for your hyper-v version? The download page contains Microsoft Hyper-V version 2008 and 2012.
    Can you clarify you got a network interface available other than "lo":
    Code:
    ip a
    If there is an adapter available like "enp0s3" and hyper-v serves a DHCP by itself then you can try command:
    Code:
    dhclient enp0s3

    Comment

    • andry79fi
      Junior Member
      • Jan 2019
      • 3

      #3
      Ok. I need only
      "dhclient eth0" :-)

      Comment

      • zabauser
        Junior Member
        • Dec 2019
        • 2

        #4
        Just use mc. It is installed inside.
        sudo mc
        Navigate and then use its editor mcedit inside on F4 key.

        Comment

        Working...