diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-08-25 17:13:37 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-08-25 17:13:37 -1000 |
commit | 80713e3f73e48856221c667f32b94b0a023ebecc (patch) | |
tree | aff4d9170fc24d2f1acc238a2d8908159a71d3dd /loader/nfsinstall.h | |
parent | ef5fbf7bc72572f3a6326b12f9187a5438e58e4c (diff) | |
download | anaconda-80713e3f73e48856221c667f32b94b0a023ebecc.tar.gz anaconda-80713e3f73e48856221c667f32b94b0a023ebecc.tar.xz anaconda-80713e3f73e48856221c667f32b94b0a023ebecc.zip |
Renamed loader2 subdirectory to loader (hooray for git)
Diffstat (limited to 'loader/nfsinstall.h')
-rw-r--r-- | loader/nfsinstall.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/loader/nfsinstall.h b/loader/nfsinstall.h new file mode 100644 index 000000000..95d76d659 --- /dev/null +++ b/loader/nfsinstall.h @@ -0,0 +1,39 @@ +/* + * nfsinstall.h + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NFSINSTALL_H +#define NFSINSTALL_H + +#include "method.h" + +struct nfsInstallData { + char * host; + char * directory; + char * mountOpts; +}; + + +void setKickstartNfs(struct loaderData_s * loaderData, int argc, + char ** argv); +int kickstartFromNfs(char * url, struct loaderData_s * loaderData); +char * mountNfsImage(struct installMethod * method, + char * location, struct loaderData_s * loaderData); +int getFileFromNfs(char * url, char * dest, struct loaderData_s * loaderData); + +#endif |