Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kt/ktlib/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import time
from dataclasses import dataclass

import wget
from git import Repo
from pathlib3x import Path
from ruamel.yaml import YAML
Expand Down Expand Up @@ -202,7 +201,7 @@ def _download_source_image(self, override_base: bool = False):
self.qcow2_source_path.unlink(missing_ok=True)

logging.info(f"Downloading image from {self._get_vm_url()}")
wget.download(self._get_vm_url(), out=str(self.qcow2_source_path))
LocalCommand.run(command=["curl", "-fL", self._get_vm_url(), "-o", str(self.qcow2_source_path)])

def _is_centos7(self) -> bool:
return bool(self.os_variant and self.os_variant.startswith("centos7"))
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies = [
"gitpython",
"click",
"pathlib3x",
"python3-wget",
"ruamel.yaml",
"pyyaml",
"pexpect",
Expand Down
Loading