Skip to content

aegir-project/frigg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 2 commits ahead, 1 commit behind patcon:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
Frigg is a little script that makes use of libcloud to:

 * Provision a server (by default, in the Rackspace Cloud)
 * Install Aegir on it


Caveats
-------

 * Totally and ruthlessly assumes a Debian based system at the moment. Deployment commands are hardcoded apt-get commands.
 * Needs sanity checking of values in the .ini, and probably elsewhere too.
 * maybe I should make the Aegir URL an arg and not from the ini, to make it faster to pump out Aegir servers
 * Can currently only be used with a VPS provider supported by libcloud that supports libcloud's deploy_node function. Some may not.
   According to libcloud's docs, deploy_node 'Depends on a Provider Driver supporting either using a specific password or returning a generated password.'


Dependencies
------------

 * python
 * libcloud
 * python-paramiko
 * You need an ssh private/public keypair in the .ssh directory of the user you're executing frigg as, because the public key will be copied to the new VPS to let you login.
 * My libcloud fork (git://github.com/mig5/libcloud.git) has a patch to catch the root user's password to stdout (not that useful since you need a key anyway))

Usage
-----

 * edit config/frigg.ini to provide your email address, the aegir URL and version, your api keys etc from your provider
 * python frigg

You'll receive the standard one-time login e-mail for your Aegir installation once completed.

Editing DNS/your hosts file to make the Aegir URL resolvable to the new server's IP is your responsibility.

About

Provisioning program to create a server and install Aegir on it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%