Skip to content
CloudStack Guest Password Reset Scripts For Linux / FreeBSD
Shell
Branch: master
Clone or download
Latest commit d4fb41b Jan 20, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archlinux
freebsd10/usr/local
freebsd9
README.md
cloudstack-guest-setup Use recommendations from shellcheck.net Jan 16, 2015
cloudstack-set-guest-credentials

README.md

CloudStack Guest scripts

Used inside the CloudStack guest to set various settings.

FreeBSD

I would suggest to tar up what is in the freebsd10 folder and extract it to / (the root folder). I

cloudstack-set-guest-credentials

  • Sets root password
  • Sets ssh public key

Installs into:

/sbin/ifup-local # CentOS/RHEL
/etc/network/if-up.d/cloudstack-set-guest-credentials # Debian/Ubuntu

cloudstack-guest-setup

Generic linux dhclient exit hook Runs once, then removes itself

  • Sets hostname
  • Sets /etc/hosts
  • Randomises cron timings
  • Sets initial Plesk root admin password
  • Generates ssh host keys (Debian/Ubuntu)
  • Sets mac address and uuid for RHEL/CentOS eth0 config file
  • Fixes dhclient lease name to use new uuid (RHEL7/CentOS7)

Installs into:

/etc/dhclient-exit-hooks # CentOS5/RHEL5
/etc/dhcp/dhclient-exit-hooks # CentOS6,7/RHEL6,7
/etc/dhcp/dhclient-exit-hooks.d/cloudstack-guest-setup # Debian/Ubuntu
You can’t perform that action at this time.