ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO Config export and import

    Scheduled Pinned Locked Moved IT Discussion
    xen orchestra
    9 Posts 2 Posters 1.2k Views
    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.
    • DanpD
      Danp
      last edited by Danp

      Currently, those of us building XO from source can't easily move the XO config from one VM to another. See discussion here with @olivier. A simple change to this line of the XO source would make this feature available to us.

      Any thoughts on the best way to implement this so that we can have access to this feature without breaking future builds?

      1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403
        last edited by

        So if that line needs to be modified, to what does it need to be changed?

        IDK if this is something we could easily inject during the compile.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          It might be as simple as just removing that block of code...

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            I know @scottalanmiller is kind with piping text into files.

            What is the exact path to this file?

            1 Reply Last reply Reply Quote 0
            • DanpD
              Danp
              last edited by

              The local file can be found in /opt/xo-web/src/xo-app/settings/config

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403
                last edited by DustinB3403

                So as we're having the side bar, we need to pull any changes from the official github down first, then we need to search this file and perform a replacement of the 5 to a 6.

                Lastly we need to compile from there.

                1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403
                  last edited by DustinB3403

                  So I'm testing now with my 16.10 system... will update shortly.

                  edit: next-release since this is already current with stable.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    Proposed change

                    https://github.com/scottalanmiller/xenorchestra_updater/pull/1

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      Just finalizing the conversation here that we feel pretty confident in the changes we've made to the update script.

                      You can update by downloading a new copy of the script or manually making the changes to the file.

                      The script will now reset any custom git changes that don't match the source, then the script will proceed, and make the necessary changes to enable the feature so you can import your config files.

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