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. diff-ovzctl-sethostname.sh
          1 kB
        2. functions
          9 kB
        3. diff-ovzctl-tmp
          0.5 kB
        4. functions
          9 kB
        5. bug-855.tgz
          4 kB
        6. script.sl
          1 kB
        7. functions.patch
          2 kB
        8. bug-855.tgz
          4 kB

          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: