All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit e5757c91 authored by Srikanth Raju's avatar Srikanth Raju Committed by Leigh B Stoller

Revert "Increased swap space to handle imageunzipping larger images"

This reverts commit e709749894d85768044ce0631588385ad06ac06b.
Don't need it after figuring out imagezip
parent bd7be70d
......@@ -202,22 +202,6 @@ foreach my $spec (split(',', $xminfo{'disksizes'})) {
print Dumper(\%disksize);
# Increase swap space
if(! -e "/capture/bigswap"){
if(system("dd if=/dev/zero of=/capture/bigswap bs=1M count=15360")){
warn("Could not dd bigswap");
if(system("chmod 600 /capture/bigswap")){
warn("Could not chmod bigswap");
if(system("mkswap /capture/bigswap")){
warn("Could not mkswap bigswap");
if(system("swapon /capture/bigswap")){
warn("Could not swapon bigswap");
foreach my $physinfo (keys(%diskinfo)) {
my $spec = $diskinfo{$physinfo};
my $dev;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment