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

    Posts made by aname

    • RE: Creating group from file?

      Thanks for responding. It turned out we actually already had such a script, and I was able to add the hosts to the group. I’m sure others might find your script useful if you still want to post it, though!

      @Sebastian-Roth said in Creating group from file?:

      There is a command line interface to the MySQL DB. Using this you should be able to add those hosts to a group. Start with creating that group in the web gui and noting down the ID (which you see in the URL bar of your browser when editing that group).

      Knowing this set me in the right direction, I was able to add these hosts with a short perl script, thanks.

      posted in FOG Problems
      A
      aname
    • RE: Creating group from file?

      I say CSV, it’s more like return-separated - a hostname per line, like so:

      host1
      host2
      host3
      host4
      host5

      I’m not sure I have access to the SQL side of things, but I can ask one of the more senior admins. This isn’t being ‘generated’ by anything - I walked around desk by desk to find all the PCs in a certain physical location that doesn’t correspond to an existing logical group.

      posted in FOG Problems
      A
      aname
    • Creating group from file?

      I’m looking to add 170 hosts that are already registered in fog to a group for snap-in deployment, but really don’t want to click through hundreds of entries to select the ones I need. Is there a way to import from a csv or the like? I asked in the IRC and searched here in the forums and don’t seem to see anything.

      posted in FOG Problems
      A
      aname
    • 1 / 1