Skip to content

shankerbalan/cloudstack-scripts

Repository files navigation

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

About

CloudStack Guest Password Reset Scripts For Linux / FreeBSD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages