Skip to content

Commit

Permalink
add linecook.local domain suffix to allow easier DNS lookup filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith committed Apr 20, 2016
1 parent 4631b92 commit d431adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/linecook/provisioner/chef-zero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup
config = Linecook.config

chef_config = config[:chef]
chef_config.merge!(node_name: "linecook-#{SecureRandom.hex(4)}",
chef_config.merge!(node_name: "linecook-#{SecureRandom.hex(4)}.linecook.local",
chef_server_url: ChefProvisioner::Config.server)
Chefdepartie.run(background: true, config: chef_config, cache: Cache.path)
chef_config
Expand Down
2 changes: 1 addition & 1 deletion lib/linecook/util/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Config
},
builder: {
image: :live_image,
name: 'builder',
name: 'builder.linecook.local',
home: '/u/lxc',
username: 'ubuntu',
password: 'ubuntu'
Expand Down

0 comments on commit d431adf

Please sign in to comment.