~snappy-dev/snapcraft/core

« back to all changes in this revision

Viewing changes to snapcraft/cmds.py

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-09-22 01:43:10 UTC
  • mfrom: (186.2.2 snapcraft)
  • Revision ID: snappy_tarmac-20150922014310-u25rdb4jk4xppt2n
Notify user why the password is being requested by sergiusens approved by elopio

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
    qemu_img = os.path.join(qemudir, "15.04.img")
165
165
    if not os.path.exists(qemu_img):
166
166
        os.makedirs(qemudir, exist_ok=True)
 
167
        logger.info('Setting up virtual snappy environment, root access required')
167
168
        common.run([
168
169
            'sudo', 'ubuntu-device-flash', 'core', '15.04', '--developer-mode',
169
170
            '--enable-ssh', '-o', os.path.relpath(qemu_img, qemudir)],