diff --git a/builder_test.go b/builder_test.go index aac9857..498a658 100644 --- a/builder_test.go +++ b/builder_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Linka Cloud All rights reserved. +// +// 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. + package d2vm import ( diff --git a/cmd/d2vm/run/hetzner.go b/cmd/d2vm/run/hetzner.go index f3022f6..1250c2b 100644 --- a/cmd/d2vm/run/hetzner.go +++ b/cmd/d2vm/run/hetzner.go @@ -1,3 +1,17 @@ +// Copyright 2022 Linka Cloud All rights reserved. +// +// 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. + package run import ( @@ -70,8 +84,6 @@ func runHetzner(ctx context.Context, imgPath string, stdin io.Reader, stderr io. return err } defer src.Close() - // TODO(adphi): check image format - // TODO(adphi): convert to raw if needed c := hcloud.NewClient(hcloud.WithToken(hetznerToken)) st, _, err := c.ServerType.GetByName(ctx, hetznerVMType) diff --git a/cmd/d2vm/version.go b/cmd/d2vm/version.go index 5d236d2..dbedd93 100644 --- a/cmd/d2vm/version.go +++ b/cmd/d2vm/version.go @@ -1,3 +1,17 @@ +// Copyright 2022 Linka Cloud All rights reserved. +// +// 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. + package main import ( diff --git a/version.go b/version.go index ed3a300..ca04e88 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,17 @@ +// Copyright 2022 Linka Cloud All rights reserved. +// +// 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. + package d2vm var (