<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GCE &#8211; Giovanni F. Mazzeo De Santolo</title>
	<atom:link href="https://desantolo.com/tag/gce/feed/" rel="self" type="application/rss+xml" />
	<link>https://desantolo.com</link>
	<description>That italian IT guy</description>
	<lastBuildDate>Sun, 25 Dec 2016 12:16:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">123042357</site>	<item>
		<title>Overriding Google Compute Engine hostname from getting reset</title>
		<link>https://desantolo.com/2016/12/overriding-google-compute-engine-hostname-from-getting-reset/</link>
					<comments>https://desantolo.com/2016/12/overriding-google-compute-engine-hostname-from-getting-reset/#comments</comments>
		
		<dc:creator><![CDATA[Giovanni]]></dc:creator>
		<pubDate>Sun, 25 Dec 2016 12:16:26 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[GCE]]></category>
		<category><![CDATA[Google Compute Engine]]></category>
		<guid isPermaLink="false">https://desantolo.com/?p=434</guid>

					<description><![CDATA[On my last post, I explained how I am experimenting with Google Compute Engine (GCE) to host my backup DNS service and my post about configuring mailjet as an exim mail relay. I have run into a few issues on Google &#8230; <a href="https://desantolo.com/2016/12/overriding-google-compute-engine-hostname-from-getting-reset/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>On my last post, I explained how I am experimenting with Google Compute Engine (GCE) to host my backup DNS service and <a href="https://desantolo.com/2016/12/how-to-setup-mailjet-on-exim-for-cpanel-dnsonly-on-google-cloud/">my post about configuring mailjet as an exim mail relay</a>.</p>
<p>I have run into a few issues on Google Compute Engine, it looks like every time the instance gets a DHCP offer the hostname of the machine will get reset to the internal hostname, overriding whatever setting you may have set&#8230; this is bad news for a server that needs to respond to DNS settings.</p>
<p>After a few hours of digging and testing out different approaches, including trying to setup a DHCP hook to run the &#8220;hostname&#8221; linux command I came across documentation from Google talking about &#8220;custom metadata&#8221;.</p>
<p><img data-recalc-dims="1" decoding="async" data-attachment-id="438" data-permalink="https://desantolo.com/2016/12/overriding-google-compute-engine-hostname-from-getting-reset/gce-custom-metadata/" data-orig-file="https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?fit=566%2C1020&amp;ssl=1" data-orig-size="566,1020" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="gce-custom-metadata" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?fit=166%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?fit=500%2C901&amp;ssl=1" class="aligncenter size-medium wp-image-438" src="https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?resize=166%2C300&#038;ssl=1" alt="" width="166" height="300" srcset="https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?resize=166%2C300&amp;ssl=1 166w, https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?resize=444%2C800&amp;ssl=1 444w, https://i0.wp.com/desantolo.com/wp-content/uploads/2016/12/gce-custom-metadata.png?w=566&amp;ssl=1 566w" sizes="(max-width: 166px) 100vw, 166px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://desantolo.com/2016/12/overriding-google-compute-engine-hostname-from-getting-reset/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">434</post-id>	</item>
	</channel>
</rss>
