• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. vim
    3. Posts
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by vim

    • FOG API - get host list

      Greetings!
      I have several hosts.
      Could you please tell me how I can get a host list using API?
      I do this:

      curl --silent -X GET -H 'content-type: application/json' -H 'fog-user-token: token' -H 'fog-api-token: token' http://hostname/fog/host
      

      And I receive in reply:

      {"count": 0, "hosts": []}
      

      I also tried:

      • /fog/host/list
      • /fog/host/all

      And this also returns:

      {"count": 0, "hosts": []}
      

      Fog running Version: 1.4.4

      Regards!

      posted in General
      V
      vim
    • 1 / 1