~ubuntu-branches/ubuntu/raring/maas/raring-security

« back to all changes in this revision

Viewing changes to scripts/maas-import-isos

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-04-03 14:50:34 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120403145034-zpoykvh2wetqp2lz
Tags: 0.1+bzr400+dfsg-0ubuntu1
* debian/patches/{02-pserv-config,03-txlongpoll-config}.patch: Refreshed.
* debian/maas.install: Install maas-gc cronjob.
* Add apport hook.
  - debian/maas.apport: Add hook.
  - debian/rules: Install with apport.
* debian/maas.logrotate: Add logrotate for txlongpoll and pserv logs.
* Create 'var/lib/media/maas/storage' on postinst to have right permissions.
  - debian/maas.dirs: Drop dir creation.
  - debian/maas.postinst: Create dir with correct permissions.
  - debian/maas.postrm: Remove dir on purge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        for r in $RELEASES; do
87
87
                for a in $ARCHES; do
88
88
                        a=$(name_arch_in_cobbler_style "$a")
89
 
                        profile="$r-$a"
 
89
                        profile="maas-$r-$a"
90
90
                        # If profile exists, update it.
91
91
                        if (cobbler profile list | grep -qs " $profile$"); then
92
92
                                cobbler profile edit --name="$profile" --kopts="$KOPTS"