summaryrefslogtreecommitdiff
path: root/utils/lxc.sh
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-10-09 11:59:31 +0200
committerBnyro <bnyro@tutanota.com>2024-11-24 12:41:57 +0100
commitf31a3a2053b07b834c5143bd6be4eaf05c1a014d (patch)
tree9f74011af2301a313b6780e711324efd88435b70 /utils/lxc.sh
parent0253c10b522fe2e8206db78e37066771ce90cf92 (diff)
[chore] *: fix typos detected by typos-cli
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-xutils/lxc.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh
index 6fdcfc9eb..f9daa51f5 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -159,7 +159,7 @@ main() {
;;
copy)
case $2 in
- ''|images) lxc_copy_images_localy;;
+ ''|images) lxc_copy_images_locally;;
*) usage "$_usage"; exit 42;;
esac
;;
@@ -167,7 +167,7 @@ main() {
sudo_or_exit
case $2 in
''|--|containers) remove_containers ;;
- images) lxc_delete_images_localy ;;
+ images) lxc_delete_images_locally ;;
${LXC_HOST_PREFIX}-*)
! lxc_exists "$2" && warn_msg "container not yet exists: $2" && exit 0
if ask_yn "Do you really want to delete container $2"; then
@@ -291,7 +291,7 @@ build_all_containers() {
rst_title "Build all LXC containers of suite"
echo
usage_containers
- lxc_copy_images_localy
+ lxc_copy_images_locally
lxc_init_all_containers
lxc_config_all_containers
lxc_boilerplate_all_containers
@@ -361,7 +361,7 @@ remove_containers() {
# images
# ------
-lxc_copy_images_localy() {
+lxc_copy_images_locally() {
rst_title "copy images" section
for ((i=0; i<${#LXC_SUITE[@]}; i+=2)); do
lxc_image_copy "${LXC_SUITE[i]}" "${LXC_SUITE[i+1]}"
@@ -369,7 +369,7 @@ lxc_copy_images_localy() {
# lxc image list local: && wait_key
}
-lxc_delete_images_localy() {
+lxc_delete_images_locally() {
rst_title "Delete LXC images"
rst_para "local existing images"
echo