• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog deployment with command line

    Scheduled Pinned Locked Moved
    General
    4
    10
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Valden
      last edited by

      Hello,

      Do you know if it’s possible to deploy an image with a command line on the server ? In order to deploy on the client pc after it reboot

      Thanks in advance

      Regards

      1 Reply Last reply Reply Quote 0
      • B
        BPSTravis Developer
        last edited by

        Why would you need to do this instead of using the web interface to set a task for the client??

        [SIZE=12px]signature:[/SIZE]
        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

        1 Reply Last reply Reply Quote 0
        • V
          Valden
          last edited by

          it’s for a school project. I need to secure the déployment with a usb key system security. The USB part is okay, and with that kind of system the deployment need to be launched by the server

          1 Reply Last reply Reply Quote 0
          • V
            VincentJ Moderator
            last edited by

            0.33b has a login for security on the client now.

            1 Reply Last reply Reply Quote 0
            • V
              Valden
              last edited by

              Yeah, but I must use a USB system for the security, it’s that want my teacher, but it’s not the problem, the only problem I meet, is how or can I launch a deployment with a command line or a script on the server side

              1 Reply Last reply Reply Quote 0
              • V
                VincentJ Moderator
                last edited by

                if you could put the stuff that is PXE booted onto the stick… then you could use the auth built into 0.33b and all the scripts are there.

                1 Reply Last reply Reply Quote 0
                • J
                  jbsclm Developer
                  last edited by

                  Have a look at my post here, it may be what you want
                  [url]http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-59#post-24274[/url]

                  1 Reply Last reply Reply Quote 0
                  • V
                    Valden
                    last edited by

                    [quote=“VincentJ, post: 24758, member: 8935”]if you could put the stuff that is PXE booted onto the stick… then you could use the auth built into 0.33b and all the scripts are there.[/quote]

                    Yeah I already do it, and it works, but my teacher said he want that the stick must be empty

                    1 Reply Last reply Reply Quote 0
                    • V
                      VincentJ Moderator
                      last edited by

                      so you want to boot an empty USB stick?

                      1 Reply Last reply Reply Quote 0
                      • V
                        Valden
                        last edited by

                        no x) ,

                        In fact, i’ll boot on the network then, i’ll deploy in ram a linux kernel with an initramfs.

                        Then with my kernel and busybox I retrive the serial number of the USB stick and I send it to the server to compare it.

                        Each SN corresponds to an OS. the SN will tell which OS will be deployed. So that part is done. but in order to deploy the OS I need to tell FOG to deploy that OS. But I don’t know how I can do it without the web interface or the PXE menu

                        But I also though to do post request on php files

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        167

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project