Changes between Version 27 and Version 28 of RB1100AHX4
- Timestamp:
- 09/20/26 23:08:55 (11 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RB1100AHX4
v27 v28 494 494 # --- Container Management --- 495 495 :local cname "alpine" 496 :local croot "ram/alpine" 497 496 498 :put "Searching for existing container..." 497 499 :local cid [/container find where name=$cname] 498 500 499 501 :if ($cid != "") do={ 500 :put ("Found existing container. Stopping and removing: " . $cname) 501 #/container stop $cid 502 #:delay 2s 502 :put ("Found existing container. Removing: " . $cname) 503 503 /container remove $cid 504 504 :delay 5s … … 506 506 :put ("No existing container found: " . $cname) 507 507 } 508 508 509 # remove old extracted rootfs folder (important when using ram disk) 510 :if ([:len [/file find name=$croot]] > 0) do={ 511 :put ("Removing old root-dir: " . $croot) 512 /file remove $croot 513 :delay 2s 514 } 515 509 516 :put "Creating new alpine container..." 510 517 :log info "Creating new alpine container..." … … 513 520 file=alpine-arm64.tar \ 514 521 interface=veth1 \ 515 root-dir= ram\522 root-dir=$croot \ 516 523 logging=yes 517 524 518 525 :delay 10s 519 526
![(please configure the [header_logo] section in trac.ini)](/Utils/chrome/site/your_project_logo.png)