Lines Matching refs:sdir
172 local sdir="$root_d/var/lib/cloud/seed/nocloud"
174 mkdir -p "$sdir" ||
175 { error "failed to make datasource dir $sdir"; return 1; }
176 rm -f "$sdir/meta-data" "$sdir/user-data" ||
177 { error "failed to clean old data from $sdir"; return 1; }
181 ${authkeys:+"public-keys=${authkeys}"} > "$sdir/meta-data" ||
182 { error "failed to write metadata to $sdir/meta-data"; return 1; }
185 cat "$udfile" > "$sdir/user-data" ||
186 { error "failed to write user-data to $sdir"; return 1; }
188 rm -f "$sdir/user-data"