Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit 5c639eb

Browse files
authored
Merge pull request #20 from yeldiRium/bugfix/fix-vm-user
[BUGFIX] adjust user configuration in vm
2 parents df91345 + d15609f commit 5c639eb

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ unless Vagrant.has_plugin?('vagrant-berkshelf')
55
abort
66
end
77

8-
Vagrant.require_version '~> 2.0.0'
8+
Vagrant.require_version '~> 2.0'
99
chef_version = '12.9.41'
1010

1111
Vagrant.configure(2) do |config|

config/vm/cookbooks/dkdeploy-typo3-cms/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
group 'www-data' do
1616
action :create
1717
append true
18-
members 'ubuntu'
18+
members 'vagrant'
1919
end
2020

2121
# PHP

features/support/env.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
ssh_key_files = Dir.glob(File.join(Dir.getwd, '.vagrant', 'machines', '**', 'virtualbox', 'private_key'))
55
unless ssh_key_files.empty?
66
# Define generated ssh key files
7-
ssh_config = { user: 'ubuntu', keys: ssh_key_files }
7+
ssh_config = { user: 'vagrant', keys: ssh_key_files }
88
end
99

1010
TEST_APPLICATION = Dkdeploy::TestEnvironment::Application.new(File.expand_path('../../../', __FILE__), 'dkdeploy-typo3-cms.dev', ssh_config)

spec/fixtures/application/config/deploy/dev.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Define generated ssh key files
1212
set :ssh_options, fetch(:ssh_options).merge(
1313
{
14-
user: 'ubuntu',
14+
user: 'vagrant',
1515
keys: ssh_key_files
1616
}
1717
)

0 commit comments

Comments
 (0)