CloudStack
  1. CloudStack
  2. CLOUDSTACK-196

cloud-set-guest-password enhancement to support Debian (and derivatives)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: pre-4.0.0
    • Fix Version/s: pre-4.0.0
    • Component/s: Template
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:

      Description

      The passwd utility on Debian based distributions does not support the --stdin option. I propose updating the script located at http://cloudstack.org/dl/cloud-set-guest-password to use the chpasswd utility instead.

      Additionally, Ubuntu 12.04 places DHCP lease information in /etc/dhcp/*. I propose adding this to the search patch used when looking for the DHCP server.

      Patch attached

        Activity

        Matty Courtney created issue -
        Matty Courtney made changes -
        Field Original Value New Value
        Attachment cloud-set-guest-password.patch [ 12546426 ]
        Matty Courtney made changes -
        Description The passwd utility on Debian based distributions does not support the --stdin option. I propose updating the script located at http://cloudstack.org/dl/cloud-set-guest-password to use the chpasswd utility instead.

        Additionally, Ubuntu 12.04 places DHCP lease information in /etc/dhcp/*. I propose adding this to the search patch used when looking for the DHCP server.
        The passwd utility on Debian based distributions does not support the --stdin option. I propose updating the script located at http://cloudstack.org/dl/cloud-set-guest-password to use the chpasswd utility instead.

        Additionally, Ubuntu 12.04 places DHCP lease information in /etc/dhcp/*. I propose adding this to the search patch used when looking for the DHCP server.

        Patch attached
        Sudha Ponnaganti made changes -
        Fix Version/s pre-4.0.0 [ 12323252 ]
        Affects Version/s pre-4.0.0 [ 12323252 ]
        edison su made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Matty Courtney
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development