smalltown -> metropolis

This pass removes all mentions of Smalltown, both from code and comments,
and replaces them with appropriate new terminology.

Test Plan: Refactor, covered by CI.

X-Origin-Diff: phab/D674
GitOrigin-RevId: 04a94d44ef07d46f7821530da5614daefe16d7ea
diff --git a/third_party/go/patches/k8s-kubernetes.patch b/third_party/go/patches/k8s-kubernetes.patch
index 8b766a6..411e009 100644
--- a/third_party/go/patches/k8s-kubernetes.patch
+++ b/third_party/go/patches/k8s-kubernetes.patch
@@ -13,7 +13,7 @@
 limitations under the License.
 
 
-This fixes OpenAPI codegen for when included from the Smalltown workspace. It basically undoes vendorification.
+This fixes OpenAPI codegen for when included from the Monogon workspace. It basically undoes vendorification.
 
 diff -ur io_k8s_kubernetes.orig/build/code_generation.bzl io_k8s_kubernetes/build/code_generation.bzl
 --- io_k8s_kubernetes.orig/build/code_generation.bzl	2020-04-15 13:43:57.785669620 +0200
@@ -402,4 +402,4 @@
 +    package = "generated",
  )
 
- filegroup(
\ No newline at end of file
+ filegroup(
diff --git a/third_party/linux/BUILD.bazel b/third_party/linux/BUILD.bazel
index 48f811b..2a52fe3 100644
--- a/third_party/linux/BUILD.bazel
+++ b/third_party/linux/BUILD.bazel
@@ -2,7 +2,7 @@
     name = "bzImage",
     srcs = [
         "@linux//:all",
-        "linux-smalltown.config",
+        "linux-metropolis.config",
     ],
     outs = [
         "bzImage",
@@ -12,7 +12,7 @@
 
     mkdir $$DIR/.bin
 
-    cp $(location linux-smalltown.config) $$DIR/.config
+    cp $(location linux-metropolis.config) $$DIR/.config
 
     (cd $$DIR && make -j $$(nproc) >/dev/null)
 
@@ -23,6 +23,6 @@
 
 filegroup(
     name = "kernel-config",
-    srcs = ["linux-smalltown.config"],
+    srcs = ["linux-metropolis.config"],
     visibility = ["//visibility:public"],
 )
diff --git a/third_party/linux/linux-smalltown.config b/third_party/linux/linux-metropolis.config
similarity index 99%
rename from third_party/linux/linux-smalltown.config
rename to third_party/linux/linux-metropolis.config
index df38412..b2f7e7a 100644
--- a/third_party/linux/linux-smalltown.config
+++ b/third_party/linux/linux-metropolis.config
@@ -22,7 +22,7 @@
 #
 CONFIG_INIT_ENV_ARG_LIMIT=32
 # CONFIG_COMPILE_TEST is not set
-CONFIG_LOCALVERSION="-smalltown"
+CONFIG_LOCALVERSION="-metropolis"
 CONFIG_LOCALVERSION_AUTO=y
 CONFIG_BUILD_SALT=""
 CONFIG_HAVE_KERNEL_GZIP=y
@@ -37,7 +37,7 @@
 # CONFIG_KERNEL_XZ is not set
 # CONFIG_KERNEL_LZO is not set
 CONFIG_KERNEL_LZ4=y
-CONFIG_DEFAULT_HOSTNAME="smalltown-uninitialized"
+CONFIG_DEFAULT_HOSTNAME="metropolis-node-uninitialized"
 # CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_SYSVIPC_SYSCTL=y
@@ -434,7 +434,7 @@
 # CONFIG_LEGACY_VSYSCALL_XONLY is not set
 CONFIG_LEGACY_VSYSCALL_NONE=y
 CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="console=ttyS0 initrd=\\EFI\\smalltown\\initramfs.cpio.lz4"
+CONFIG_CMDLINE="console=ttyS0 initrd=\\EFI\\metropolis\\initramfs.cpio.lz4"
 CONFIG_CMDLINE_OVERRIDE=y
 CONFIG_MODIFY_LDT_SYSCALL=y
 CONFIG_HAVE_LIVEPATCH=y