Saturday, May 4, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 635  / 3 Years ago, wed, october 6, 2021, 1:19:18

When I log into twice to a new instance of Ubuntu server built for Amazon EC2, both windows will be exactly the same. Anything I type in one is replicated in the other.



I never dealt with this when I built the image myself. Does anyone know about this? I normally like to have a few putty windows open logged into the terminal of my servers.


More From » command-line

 Answers
3

When you launch an instance in EC2 you have the option of supplying "user data" which is available to the instance at first boot (and later.) Ubuntu consumes the user data with a program called cloud-init, which is incredibly powerful.



You can disable byobu using the user-friendly cloud-config feature of cloud-init.



To disable byobu all you have to do is supply this two-line user data:



#cloud-config
byobu_by_default: disable


Full details about cloud-init here: https://help.ubuntu.com/community/CloudInit



Cloud-config syntax, including all the other amazing things you can do with it, here:
http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt


[#43328] Thursday, October 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zombieptu

Total Points: 490
Total Questions: 121
Total Answers: 108

Location: Nepal
Member since Mon, Jan 4, 2021
3 Years ago
zombieptu questions
Sat, Feb 18, 23, 20:00, 1 Year ago
Sun, Feb 27, 22, 02:41, 2 Years ago
Sat, Oct 30, 21, 00:00, 3 Years ago
;