Since I’ve added the recipe of cookbook unattended-upgrades that emails me about those events.
FYI, I’m using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for ‘ip-10-121-17-242’
Here, that private ip is set as hostname and this doesn’t gives me the info which server/instance is that.
So, I want to setup the my custom hostname before all execution of the bootstrap process starts so that the chef run for the first time will change the hostname of the instance.
On Friday, November 16, 2012 at 2:41 PM, Sachin Sagar Rai wrote:
Ohai Chefs!
Since I've added the recipe of cookbook unattended-upgrades that emails me about those events.
FYI, I'm using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for 'ip-10-121-17-242'
Here, that private ip is set as hostname and this doesn't gives me the info which server/instance is that.
So, I want to setup the my custom hostname before all execution of the bootstrap process starts so that the chef run for the first time will change the hostname of the instance.
On Friday, November 16, 2012 at 2:41 PM, Sachin Sagar Rai wrote:
Ohai Chefs!
Since I've added the recipe of cookbook unattended-upgrades that emails me about those events.
FYI, I'm using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for 'ip-10-121-17-242'
Here, that private ip is set as hostname and this doesn't gives me the info which server/instance is that.
So, I want to setup the my custom hostname before all execution of the bootstrap process starts so that the chef run for the first time will change the hostname of the instance.
Do you want the bootstrap script to change the hostname, or do you want chef to do it?
On Friday, November 16, 2012 at 2:41 PM, Sachin Sagar Rai wrote:
Ohai Chefs!
Since I've added the recipe of cookbook unattended-upgrades that emails me about those events.
FYI, I'm using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for 'ip-10-121-17-242'
Here, that private ip is set as hostname and this doesn't gives me the info which server/instance is that.
So, I want to setup the my custom hostname before all execution of the bootstrap process starts so that the chef run for the first time will change the hostname of the instance.
Do you want the bootstrap script to change the hostname, or do you want chef to do it?
On Friday, November 16, 2012 at 2:41 PM, Sachin Sagar Rai wrote:
Ohai Chefs!
Since I've added the recipe of cookbook unattended-upgrades that emails me
about those events.
FYI, I'm using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for 'ip-10-121-17-242'
Here, that private ip is set as hostname and this doesn't gives me the info
which server/instance is that.
So, I want to setup the my custom hostname before all execution of the
bootstrap process starts so that the chef run for the first time will change
the hostname of the instance.
Do you want the bootstrap script to change the hostname, or do you want chef
to do it?
On Friday, November 16, 2012 at 2:41 PM, Sachin Sagar Rai wrote:
Ohai Chefs!
Since I've added the recipe of cookbook unattended-upgrades that emails me
about those events.
FYI, I'm using AWS EC2.
But when the email comes, its subject has:
[reboot required] unattended-upgrades result for 'ip-10-121-17-242'
Here, that private ip is set as hostname and this doesn't gives me the info
which server/instance is that.
So, I want to setup the my custom hostname before all execution of the
bootstrap process starts so that the chef run for the first time will change
the hostname of the instance.
Do you want the bootstrap script to change the hostname, or do you want chef
to do it?