I cloned an Ubuntu 18.04 Server instance post which I wished to change the hostname of the new instance. What was supposed to be a simple operation of updating the hostname in the /etc/hostname and running sudo hostname
Hi, I'm Chethan — a Cloud Architect writing about software, personal finance, telecom, and automobiles.
-
didn't work as expected. The hostname used to revert on reboot. It took me quite some time to arrive at the right solution. An Ask Ubuntu [answer](https://askubuntu.com/a/1047635/4157) set me in the right direction though it did not work as-is. The reason is the shipment of [cloud-init](https://cloud-init.io/) in Ubuntu 18.04. I got it to work with the following steps - -
Little over a year ago, I ported one of my BSNL numbers to Airtel. The idea was to make Airtel my primary number, essentially due to strong coverage at my workplace. However, post becoming a customer things took a different turn. It turned out that Airtel’s coverage is pretty bad across Hyderabad - except for okayish internet speeds, calls were a nightmare. Call drops and getting connected to a number other than the called number was way too common. The experience became even poorer after much-hyped network upgrades to offer VoLTE services. I’m yet to meet anyone in Hyderabad who is constantly seeing VoLTE active on the device. In contrast, several of my friends and colleagues who even use high-end devices like iPhone and OnePlus didn’t see VoLTE show up even once. In the recent months, several of them ported out and the first choice was Jio. Speaks volumes about India’s fastest network.
I should add that beyond the network experience, there are several other factors which influenced my decision to move away from Airtel. While I had often heard complaints about the operator’s unfair treatment of customers, I experienced them personally in this timeframe.
- Segmented offers - for Airtel all customers are not equal. Thanks to their efficient PR machinery, they get widespread coverage for launching new competitive tariffs which are often reactive measures to Jio’s offerings. The ground reality is these attractivetariffs are barely available to a majority of Airtel consumers.
- Offers not applicable to Airtel customers - as a BSNL subscriber for several years, I enjoyed double benefits of cashbacks plus limited time offers like full talk time by recharging the number through private portals like Paytm. Soon after becoming an Airtel subscriber I observed that such offers (especially full/extra TT) are exclusive to Airtel’s app/website and different ones are available at private portals.
- Not allowing recharge from the balance - this came as a major disappointment. I am used to maintaining good amount as prepaid balance, often above ₹500. With the advent of unlimited plans like ₹349, I was shocked when I discovered that the existing balance could not be used to recharge the so-called *best offers*. According to the customer care, I could use the balance to activate data packs or rate cutters. Who on the earth would need them when one is on an unlimited plan?!
- Not truly unlimited - Despite advertising unlimited voice, calls to premium numbers like the 1860 series costs ₹2/minute
- Deliberately hiding cost-effective recharge options in the app - Rate cutters, for instance, are not shown in the My Airtel app at all. Even on the website (which is no less than a maze), one has to exercise options carefully for the rate cutters to be shown.
Result
I am now on Jio, India’s most transparent telecom operator who is serious about offering a great experience to the entire customer base. Jio app ecosystem is making the service even more attractive. BSNL will continue to be my secondary number hereafter.
-
I was in the process of setting up Nginx to serve as the reverse proxy for Nexus Repository Manager OSS. However, the Nexus repository started loading really slowly post this and used to repeatedly display disconnected and reconnected messages. The Nginx log file used to log the below error -
[error] 3240#3632: \*1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: , server: , request: "GET /nexus HTTP/1.1", upstream: "http://[::1]:8081/nexus", host: " " -
Often we have project teams seeking the addition of custom fields and request that it be mandatory for only their project. These projects essentially share the same JIRA workflow, issue type, field, permission schemes but have different screens to enable display of the new custom fields. Now comes the tricky part - making the custom field mandatory would start throwing up errors while creating issues in the screens where they are not even available -
-
I am someone who is particular about power savings and I don’t leave appliances powered on when not in use. The same applies to computing devices - be it a smartphone or a PC/Laptop. I power off the desktop monitor when I step out for a tea break or hit Fn+F2 on my Lenovo laptop that turns off the display. Recently, I got a Dell Laptop and I was surprised to discover that Dell does not provide any shortcut to turn off the display. This led to some exploration and I found two ways to achieve that which are outlined below -