• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Gaurus
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    Gaurus

    @Gaurus

    0
    Reputation
    317
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Gaurus Unfollow Follow

    Latest posts made by Gaurus

    • RE: PXE - howto create fog task for host delete?

      So, after a little delay I figure out what was wrong(bad @mysql_connect parameters and (!@mysql_select_db(DATABASE_NAME,$conn)) should by (!@mysql_select_db(MYSQL_DATABASE,$conn)) ). Even (require_once(BASEPATH . ‘/commons/init.database.php’); doesnt exist in 0.32.
      And now after I choose yes for delete host I get that host out of db. NICE!

      Well, thx Tom for yours great help with this and now I have exactly what I wanted for my colleagues.

      posted in FOG Problems
      G
      Gaurus
    • RE: PXE - howto create fog task for host delete?

      I have try yours modification, but after boot to regdel mod I choose delete host and then nothing happen, only every two sec it hop text up in screen, but host still remain in db. I didnt have to much time in work today for more testing, so I try again after weekend. But so far I got all files and their rights in places a script run fine to the point, where I can choose deletion of host, but after that no success. I will try to add debug option to the autodele bash script in /bin to see where it get stuck.

      posted in FOG Problems
      G
      Gaurus
    • RE: PXE - howto create fog task for host delete?

      wOw, this looks AMAZING Tom!!! I will definitely try this! This is some real user support here 🙂

      posted in FOG Problems
      G
      Gaurus
    • RE: PXE - howto create fog task for host delete?

      [quote=“Tom Elliott, post: 16308, member: 7271”]The best option I could suggest for this is to create a new fog script within the init.gz file. Have the fog script call another php file within the service directory directing that php file to delete the host upon boot. This would be the way, if I’m understanding what you’re asking. However, the hosts are meant to be a sort of inventory status for the FOG system as well. So I don’t think you want anybody to just be deleting their systems from FOG because there’s an option to do so from the PXE menu.

      Maybe refine the question a little as this one is a we bit garbled and hard to understand what it is you’re asking for.[/quote]

      Well thx for your suggestion. Point is, if you are standing before broken PC, which you must reinstall…for example say with different image or rename PC, than this specific PC has allready in FOG db…what do you do? You need quickly resolve this…so I will show our technician guys, that they can simply choose delete PC option from PXE menu and then they can redeploy PC under another name with another atributes like type of image or with-out domain join…thats what I want and what will make my colleagues independent. And yes, sorry for my far from perfect english.

      p.s: our PXE menus are of course secured with passwords, so only IT stuff can use them.

      posted in FOG Problems
      G
      Gaurus
    • PXE - howto create fog task for host delete?

      Hello,
      Im just trying figure out how to create task-item for my PXE, which allow me to delete actual booted host from fog DB.
      Fog 32 already has option for reimage from PXE and many other tasks are possible, but one I cant found on wiki or here on forum is option for delete host from DB.
      Point is…we have several IT technicians around city and as web interface dont have any possibility to setup security level options for its users, which is basic thing for large installs, I trying to go with pxe way, but so far without success. Looks like this functionality isnt ment for pxe tasking as its call php which delete host from db…
      Any suggestion how to make this possible from pxe?

      posted in FOG Problems
      G
      Gaurus
    • RE: Windows 7 Deployment FOG- SAD2 Driver tool

      Hello,

      you have a nice tutorial here…thx for that. Few things…you recommending use of fogprep, but after that you use generalize on sysprep which should by the same thing base on fog wiki([url]http://www.fogproject.org/wiki/index.php/What_do_I_have_to_do_to_an_image_before_uploading%3F[/url]).
      Second, I was deployed image with SAD rutine and everithing finish, but strange thing occur, after windows start, fogsystray hangs a and for example when I call itel graphic setting tool it crash. Same with windows media center for example. In image this problems not happens. Any ideas? anybody?

      posted in Tutorials
      G
      Gaurus
    • RE: Moving from ubuntu to centos 6.3

      Well current install running on old Fedora 10 and I dont have balls for messing with that old thing. In case that something went wrong I will end up without any imaging solution… no way 🙂

      posted in Linux Problems
      G
      Gaurus
    • DB migration from 0.25 to 0.32?

      Hello,

      I rather start new thread about this…
      It is possible to migrate db from fog 0.25 to 0.32? I was trying that, but without success. Always get message about existing fog db(imported from old server) a then update db rutine trough icon on fog page give me error.
      I take a look on schemeupdater-index.php script and there is stated:
      [B][COLOR=#ff6600]// If you have an existing database change this value to false[/COLOR][/B]
      [B][COLOR=#ff6600]// It will still require that none of the tables exist in the schema[/COLOR][/B]
      So whats now?

      posted in Linux Problems
      G
      Gaurus
    • RE: Moving from ubuntu to centos 6.3

      ye thats the point… it should but that didnt happen… viz message…

      posted in Linux Problems
      G
      Gaurus
    • RE: Moving from ubuntu to centos 6.3

      Hi,

      its possible to import sql from fog version 0.25(fedora) to 0.32(centos)? I did that and fog installation wizard force me to upgrade my sql db and when I do it I get message "
      Database error: (ID# 0-0)
      Database Error:
      Can’t create database ‘fog’; database exists
      "

      posted in Linux Problems
      G
      Gaurus