~andreserl/maas/pkg_bootresources_fix

« back to all changes in this revision

Viewing changes to debian/maas-cluster-controller.postinst

  • Committer: Andres Rodriguez
  • Date: 2014-04-01 23:15:03 UTC
  • Revision ID: andreserl@ubuntu.com-20140401231503-657zm3a7x469vc94
debian/maas-cluster-controller.dirs: Create 'boot-resources' dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    # Ensure that iSCSI targets get re-defined on reboot.
26
26
    # Creates a softlink in /etc/tgt/conf.d/ that points to the current
27
27
    # boot images' tgt configuration.
28
 
    mkdir -p /etc/tgt/conf.d /var/lib/maas/boot-resources/
 
28
    mkdir -p /etc/tgt/conf.d
29
29
    ln -sf /var/lib/maas/boot-resources/current/maas.tgt /etc/tgt/conf.d/maas.conf
30
30
}
31
31