src/Robo/Commands/Vm/VmCommand.php
protected function setBaseBox($config) {
    $base_box = $this->askChoice(
      "Which base box would you like to use?",
      [
        'geerlingguy/drupal-vm',
        'geerlingguy/ubuntu1604',
      ],
      0);

    switch ($base_box) {
      case 'geerlingguy/ubuntu1604':
      case 'geerlingguy/drupal-vm':
        $config->set('workspace', '/root');
        $config->set('extra_packages', [
          'patchutils',
          'sqlite',
        ]);
        $config->set('installed_extras', [
          'adminer',
          'selenium',
          'drush',
          'mailhog',
          'memcached',
          'nodejs',
          'solr',
          'xdebug',
        ]);
        break;
    }

    $config->set('base_box', $base_box);
  }
protected function setBaseBox($config) {
    $base_box = $this->askChoice(
      "Which base box would you like to use?",
      [
        'geerlingguy/drupal-vm',
        'geerlingguy/ubuntu1604',
      ],
      0);

    switch ($base_box) {
      case 'geerlingguy/ubuntu1604':
      case 'geerlingguy/drupal-vm':
        $config->set('workspace', '/root');
        $config->set('extra_packages', [
          'patchutils',
          'sqlite',
        ]);
        $config->set('installed_extras', [
          'adminer',
          'selenium',
          'drush',
          'mailhog',
          'memcached',
          'nodejs',
          'solr',
          'xdebug',
        ]);
        break;
    }

    $config->set('base_box', $base_box);
  }
protected function setBaseBox ( $ config ) { $ base_box = $ this -> askChoice ( "Which base box would you like to use?" , [ 'geerlingguy/drupal-vm' , 'geerlingguy/ubuntu1604' , ] , 0 ) ; switch ( $ base_box ) { case 'geerlingguy/ubuntu1604' : case 'geerlingguy/drupal-vm' : $ config -> set ( 'workspace' , '/root' ) ; $ config -> set ( 'extra_packages' , [ 'patchutils' , 'sqlite' , ] ) ; $ config -> set ( 'installed_extras' , [ 'adminer' , 'selenium' , 'drush' , 'mailhog' , 'memcached' , 'nodejs' , 'solr' , 'xdebug' , ] ) ; break ; } $ config -> set ( 'base_box' , $ base_box ) ; }
Sets the Drupal VM base box.

@param \Acquia\Blt\Robo\Config\BltConfig $config
Sets the Drupal VM base box .