<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ueponx</author_name>
  <author_url>https://blog.hatena.ne.jp/ueponx/</author_url>
  <blog_title>uepon日々の備忘録</blog_title>
  <blog_url>https://uepon.hatenadiary.com/</blog_url>
  <categories>
    <anon>WSL</anon>
    <anon>Windows</anon>
    <anon>Ubuntu</anon>
    <anon>コンピュータ</anon>
  </categories>
  <description>WSLを使用しているとホストネームがWindowsの端末名になってしまうのですが、自分みたいに説明が画面キャプチャを貼ったりしていると、あんまり見せたくないなと思うこともあります🤔そこでWSLのディストリビューションのhostnameを変更を考えるのですが、一般的なhostnameの変更手順では永続化できないという現象が発生します🙄 今回はその対策のメモとなります。特に以前のディストリビューションには名前をつけられるようになったのに、それがホストネームに反映されてないとちょっと気持ちが悪いですよね。 参考 uepon.hatenadiary.com 問題点 WSLでホストネームを変更したいが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuepon.hatenadiary.com%2Fentry%2F2025%2F06%2F14%2F173117&quot; title=&quot;【WSL】ホストネーム変更が元に戻る問題を解決！永続化の正解はwsl.conf - uepon日々の備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/u/ueponx/20250614/20250614172629.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-14 17:31:17</published>
  <title>【WSL】ホストネーム変更が元に戻る問題を解決！永続化の正解はwsl.conf</title>
  <type>rich</type>
  <url>https://uepon.hatenadiary.com/entry/2025/06/14/173117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
