From 13514054d9f555ba852dcc4ea85a67ed177bf316 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Sun, 1 Dec 2013 23:05:55 -0800 Subject: [PATCH] Updated system hostname to tedivm.com --- tests/vagrant/Postfix.sh | 2 +- tests/vagrant/Vagrantfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/vagrant/Postfix.sh b/tests/vagrant/Postfix.sh index e3cc8f1..8ae3437 100644 --- a/tests/vagrant/Postfix.sh +++ b/tests/vagrant/Postfix.sh @@ -4,7 +4,7 @@ if which postfix > /dev/null; then echo 'Postfix is already installed' else echo 'Installing Postfix' - sudo debconf-set-selections <<< "postfix postfix/mailname string precise64" + sudo debconf-set-selections <<< "postfix postfix/mailname string tedivm.com" sudo debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local only'" sudo apt-get -qq update sudo apt-get -qq -y install postfix mailutils diff --git a/tests/vagrant/Vagrantfile b/tests/vagrant/Vagrantfile index 1c25028..543d8be 100644 --- a/tests/vagrant/Vagrantfile +++ b/tests/vagrant/Vagrantfile @@ -25,6 +25,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Create a private network, which allows host-only access to the machine # using a specific IP. + config.vm.hostname = "tedivm.com" config.vm.network :private_network, ip: "172.31.1.2" # Create a public network, which generally matched to bridged network.