treewide: add license header and enable haslicense linter

Change-Id: I873a8d4082d75e8f813d8a726a41187eea7a065e
Reviewed-on: https://review.monogon.dev/c/monogon/+/3825
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/metropolis/installer/main.go b/metropolis/installer/main.go
index cc640bf..e9956fd 100644
--- a/metropolis/installer/main.go
+++ b/metropolis/installer/main.go
@@ -1,18 +1,5 @@
-// Copyright 2020 The Monogon Project Authors.
-//
+// Copyright The Monogon Project Authors.
 // SPDX-License-Identifier: Apache-2.0
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
 
 // Installer creates a Metropolis image at a suitable block device based on the
 // installer bundle present in the installation medium's ESP, after which it
diff --git a/metropolis/installer/test/run_test.go b/metropolis/installer/test/run_test.go
index a8db235..766c839 100644
--- a/metropolis/installer/test/run_test.go
+++ b/metropolis/installer/test/run_test.go
@@ -1,18 +1,5 @@
-// Copyright 2020 The Monogon Project Authors.
-//
+// Copyright The Monogon Project Authors.
 // SPDX-License-Identifier: Apache-2.0
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
 
 // This package runs the installer image in a VM provided with an empty block
 // device. It then examines the installer console output and the blok device to
diff --git a/metropolis/installer/test/testos/main.go b/metropolis/installer/test/testos/main.go
index f0a6e80..f648a83 100644
--- a/metropolis/installer/test/testos/main.go
+++ b/metropolis/installer/test/testos/main.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 // TestOS is a tiny "operating system" which is packaged the exact same way as
 // an actual Metropolis node but only outputs a single flag before exiting.
 // It's used for decoupling the installer tests from the Metropolis Node code.