Fixing kernel typo
This commit is contained in:
parent
a5191fe454
commit
67c5dd856c
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ create_vm_dir() {
|
|||
}
|
||||
|
||||
# Download Talos kernel and initramfs
|
||||
download_kernal_file() {
|
||||
download_kernel_file() {
|
||||
local kernel_path="$VM_DIR/vmlinuz-arm64"
|
||||
|
||||
if [[ ! -f "$kernel_path" ]]; then
|
||||
|
|
@ -152,7 +152,7 @@ main() {
|
|||
local controlplane_path=$(create_vm_dir "$CONTROLPLANE_NAME")
|
||||
local controlplane_disk=$(create_disk_image "$controlplane_path" "$CONTROLPLANE_NAME")
|
||||
local controlplane_mac=$(generate_mac "$CONTROLPLANE_NAME")
|
||||
local kernal_path=$(download_kernal_file)
|
||||
local kernel_path=$(download_kernel_file)
|
||||
local initramfs_path=$(download_initramfs_file)
|
||||
local controlplane_script=$(create_vm_script "$controlplane_path" "$CONTROLPLANE_NAME" "$controlplane_mac" "$kernel_path" "$initramfs_path" "$controlplane_disk")
|
||||
create_service_file "$controlplane_path" "$CONTROLPLANE_NAME" "$controlplane_script"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue