Run user-data script after setting hostname, apt sources
Bug #373055 reported by
Eric Hammond
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on EC2 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A user in the ec2ubuntu group reported a problem not getting the right hostname inside of a user-data script.
http://
Mike Milner and Patrick J. McNerthney pointed out that this problem is being caused by the fact that the hostname is getting set after the user-data script is run in /etc/init.
The user-data script should be run after the hostname is set and after the apt-source is set.
Related branches
summary: |
- Run user-data script after setting hostname + Run user-data script after setting hostname, apt sources |
To post a comment you must log in.
This also makes aptitude update and/or installing in the user-data script.