Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-3996

/etc/hosts changes after reboot

    XMLWordPrintable

    Details

      Description

      People want to assign for example to 127.0.0.1 their own host name (see URL). But after CT reboot /etc/hosts file changes.

      I suggest that we always put the special string in /etc/hosts file and whatever user put below this string we'll change it but the content above this string doesn't change.

        Attachments

        1. bug-855.tgz
          4 kB
          Marcin Owsiany
        2. bug-855.tgz
          4 kB
          Marcin Owsiany
        3. diff-ovzctl-sethostname.sh
          1 kB
          Marat Stanichenko
        4. diff-ovzctl-tmp
          0.5 kB
          Marat Stanichenko
        5. functions
          9 kB
          Marat Stanichenko
        6. functions
          9 kB
          Marat Stanichenko
        7. functions.patch
          2 kB
          Marcin Owsiany
        8. script.sl
          1 kB
          Marcin Owsiany

          Issue Links

            Activity

              People

              Assignee:
              igor Igor Sukhih
              Reporter:
              mstanichenko@openvz.org Marat Stanichenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: